PackageTrack
Sign in Get early access

middlewares/request-handler

Middleware to execute request handlers

v2.1.0 1.9M downloads/mo #3295 most downloaded on Packagist middlewares/request-handler

What this package is like to depend on

Last release 1 years ago

23 Mar 2025

Ships unpredictably

gaps range from 2 weeks to 2.8 years

Nearly every release is documented

notes for 16 of 16 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

16 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

16 releases · Apr 2017 to Mar 2025
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 16
  1. v2.1.0 23 Mar 2025
    Release notes Open source →
    Release notes

    Added

    • Support for PHP 8.4
    Open source →
  2. v2.0.3 06 Mar 2025
    Release notes Open source →
    Release notes

    Added

    • Support for psr/http-message 2 [#14]
    Open source →
  3. v2.0.2 09 May 2022
    Release notes Open source →
    Release notes

    Added

    • Support psr/container 2 [#13]
    Open source →
  4. v2.0.1 04 Dec 2020
    Release notes Open source →
    Release notes

    Added

    • Support for PHP 8.0
    Open source →
  5. v2.0.0 29 Nov 2019
    Release notes Open source →
    Release notes

    Removed

    • Support for PHP 7.0 and 7.1
    Open source →
  6. v1.4.0 25 Oct 2018
    Release notes Open source →
    Release notes

    Added

    • Support for arrays with 2 strings as request handler

    Fixed

    • Use phpstan as a dev dependency to detect bugs
    Open source →
  7. v1.3.0 24 Aug 2018
    Release notes Open source →
    Release notes

    Added

    • New option continueOnEmpty() to continue with the next middleware if the request attribute is empty or does not exists.
    Open source →
  8. v1.2.0 04 Aug 2018
    Release notes Open source →
    Release notes

    Added

    • PSR-17 support
    Open source →
  9. v1.1.0 07 Feb 2018
    Release notes Open source →
    Release notes

    Added

    • Support for any callable, not only Closure.
    Open source →
  10. v1.0.1 25 Jan 2018
    Release notes Open source →
    Release notes

    Fixed

    • Fixed the suggested package in composer.json
    Open source →
  11. v1.0.0 24 Jan 2018
    Release notes

    Added

    • Improved testing and added code coverage reporting
    • Added tests for PHP 7.2
    • Added support for Closure handlers

    Changed

    • Upgraded to the final version of PSR-15 psr/http-server-middleware

    Fixed

    • Updated license year
    Open source →
  12. v0.5.0 16 Dec 2017
    Release notes

    Added

    • Support for handlers implementing MiddlewareInterface.
    • Support for handlers implementing RequestHandlerInterface.

    Changed

    • Changed the constructor signature: Instead a Middlewares\Utils\CallableResolverInterface, now only Psr\Container\ContainerInterface is accepted.

    Removed

    • Removed arguments() option
    • Removed support for callable handlers. They must implement RequestHandlerInterface or MiddlewareInterface.
    Open source →
  13. v0.4.0 13 Nov 2017
    Release notes

    Changed

    • Replaced http-interop/http-middleware with http-interop/http-server-middleware.

    Removed

    • Removed support for PHP 5.x.
    Open source →
  14. v0.3.0 21 Sep 2017
    Release notes

    Changed

    • Append .dist suffix to phpcs.xml and phpunit.xml files
    • Changed the configuration of phpcs and php_cs
    • Upgraded phpunit to the latest version and improved its config file
    • Updated to http-interop/http-middleware#0.5
    Open source →
  15. v0.2.0 20 Apr 2017
    Release notes

    Changed

    • Renamed attribute() to handlerAttribute()

    Fixed

    • Improved docs and examples in README
    Open source →
  16. v0.1.0 19 Apr 2017
    Release notes

    First version

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive