Why you should use Expressive

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.

Looking to migrate from 1.0 to 2.0? Follow these instructions.
New to Expressive? Try it now.

The following two tabs change content below.

    Matthew Weier O'Phinney

    Matthew is an open source software architect, specializing in PHP. Currently, he is a principal engineer and the project lead for Zend Framework, a project with which he has been involved in since before the first public preview release. Matthew is a Zend Certified Engineer, and a member of the Zend Education Advisory Board, the group responsible for authoring the Zend Certification Exam. He also contributes to a number of open source projects, blogs on PHP-related topics, and presents talks and tutorials related to PHP development.

    About Matthew Weier O'Phinney

    Matthew is an open source software architect, specializing in PHP. Currently, he is a principal engineer and the project lead for Zend Framework, a project with which he has been involved in since before the first public preview release. Matthew is a Zend Certified Engineer, and a member of the Zend Education Advisory Board, the group responsible for authoring the Zend Certification Exam. He also contributes to a number of open source projects, blogs on PHP-related topics, and presents talks and tutorials related to PHP development.

    • https://w3guy.com Collins Agbonghama

      Awesome.