Statistics
4314
3
4
150d
Badges
Dependencies

Middlewares

💥 Middleware / Relay / PSR-7 support to Nette Framework.


Build Status Code coverage HHVM Status Licence

Downloads this Month Downloads total Latest stable Latest unstable

Discussion / Help

Join the chat

Install

composer require contributte/middlewares

Versions

State Version Branch PHP
development ^0.2 master >= 5.6

Prolog

Middleware / Relay pattern is widely used for handling any HTTP requests, such as API request, streams, dynamic websites or just any suitable requests.

We have a many solutions and prepared libraries in PHP world.

3rd party middlewares:

Overview

Design

Cycle


The development is sponsored by Tlapnet. Thank you guys! 👍


Thank you for testing, reporting and contributing.

  • v0.2.1 v0.2.1

    Bump!

    Changes:

    • fix AutoBasePathMiddleware reducing of the path
  • v0.2 v0.2

    Bumped! ⛳️

    Changes:

    • added some validations
    • change *Extension parameters (added middlewares & root key) [BC!]
    • added middlewares
      • AbstractRootMiddleware
      • AutoBasePathMiddleware
      • RouterMiddleware
    • dropped middlewares:
      • ContentNegotiationMiddleware
    • renamed middlewares:
      • ConditionMiddleware -> ExcludeConditionMiddleware
    • added Regex class
    • added factories:
      • PresenterMiddlewareFactory
  • v0.1.2 v0.1.2

    Bumped! ♠️

    Changes:

    • added a few middlewares implementations
      • ConditionMiddleware
        • UrlPathFilter
      • GroupMiddleware
      • GroupBuilderMiddleware
      • ContentNegotiationMiddleware
        • SuffixNegotiationStrategy
          • JsonNegotiator
    • relax dependencies
  • v0.1.1 v0.1.1

    Bump! 🐗

    Changes:

    • added new methods for PresenterMiddleware
  • v0.1 v0.1

    Bumped! 👊

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com