NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2587 most downloaded on Packagist
PSR-15 compatible middleware for Whoops, the pretty error handler
Latest stable
2.0.0
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 1.2 years
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
11 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Time for some PHP and dependency maintenance.
Time for some PHP and dependency maintenance.
middleware/utils package to pick an available PSR-7 implementation (#12, #13), don't force Laminas on people.Respond with appropriate Content-Type header for all supported response formats
Full changelog:
Content-Type header for all supported response formats (#11)This adds support for using the library together with Diactoros v2.0.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This adds support for using the library together with Diactoros v2.0.
A future release will add support for PSR-17 factories.
As the interfaces changed slightly before the final version of PSR-15 was published, this release brings support for the latest version (see #9).
As the interfaces changed slightly before the final version of PSR-15 was published, this release brings support for the latest version (see #9).
All other middleware adapters were removed. Please user PSR-15, it's the standard!
Please check out the README for the current interface.
Thanks to @timtegeler, we now support PSR-15 compatible (as of yet, it's still in review) middleware.
Thanks to @timtegeler, we now support PSR-15 compatible (as of yet, it's still in review) middleware.
Oh, and I also added an official license, this is now licensed under MIT. If this is possible, I hereby want to clarify that I consider all previous versions licensed under MIT as well, so you are not in trouble for using them.
Usage of an obsolete response factory in Zend Diactoros (#5).
Full changelog:
The first release only had an error middleware for use with Zend Stratigility. This new release also supports other middleware stacks, such as Relay.
The first release only had an error middleware for use with Zend Stratigility. This new release also supports other middleware stacks, such as Relay.
Full changelog:
The ErrorMiddleware didn't completely fulfill Stratigility's requirements: all four parameters needed to be required. (#3).
Full changelog:
ErrorMiddleware didn't completely fulfill Stratigility's requirements: all four parameters needed to be required. (#3).The biggest BC break in the new Whoops version is the increased minimum PHP version.
We now support Whoops v2.0.0+.
The biggest BC break in the new Whoops version is the increased minimum PHP version.
The first release only had an error middleware for use with Zend Stratigility. This new release also supports other middleware stacks, such as Relay.
The first release only had an error middleware for use with Zend Stratigility. This new release also supports other middleware stacks, such as Relay.
Full changelog:
Middleware class now implements the classical three-arguments signature as known from Relay and others.Middleware to ErrorMiddleware.With support for Zend's Stratigility middleware stack implementation.
With support for Zend's Stratigility middleware stack implementation.
One column per quarter.