Statistics
7055
5
2
4d
Badges
Tags
http
Dependencies

Middlewares

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


Build Status Code coverage Licence

Downloads this Month Downloads total Latest stable

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

Maintainers


Milan Felix Å ulc

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


Thank you for testing, reporting and contributing.

  • v0.3 v0.3

    Bump! 🤒

    Diff: v0.2.1...v0.3

    Changes:

    • added own QA ruleset
    • added huge amount of tests
    • drop middleware namespace
    • make nette/http dependency optional
    • remove unused middlewares:
      • ExcludeConditionMiddleware
      • Filter/UrlPathFilter
      • GroupMiddleware
      • RouterMiddleware
    • use SmartObject instead of custom events
    • DI: allow use middlewares as defined services or as string
    • ChainBuilder: added useful methods + factory
  • 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