Expressive is a middleware microframework that allows you to write applications for the web. It provides a small footprint that incorporates an intentionally small number of dependencies to allow you, the developer, the senior engineer, or the architect to dictate what packages are needed in order to enable your application, and what workflows will best describe it.
Unlike traditional MVC frameworks, middleware is intended to be single-purpose. To accomplish complex workflows, you compose middleware into pipelines. One way of describing middleware is as practicing the Unix philosophy with web applications: piping the output of one middleware to the next in order to accomplish complex tasks.
Middleware approaches are ideal for a range of use cases from prototyping ideas, to creating APIs and microservices, to full-featured web applications. The simplicity of middleware lends itself to beginners, while composition of middleware enables the complex workflows of enterprise applications.
And we’re excited to introduce Expressive 2.0 which brings more features to help standardize, simplify, and streamline your application development, including:
- PSR-11 support
- http-interop/http-middleware support
- Simplified, improved error handling
- Create or convert existing configuration-driven applications to programmatic pipelines
- Extensible routing and dispatch middleware
- Create or consume re-usable middleware modules
- Ability to toggle development-specific configuration
With Expressive 2.0 you can get your application up and running in minutes.