http-router

Release 2.0 is released! Very fast HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations/attributes and OpenAPI (Swagger) Specification

MIT License

Downloads
43.9K
Stars
159
Committers
6

Bot releases are hidden (Show)

http-router - v3.0.0-beta.8 Latest Release

Published by fenric 6 months ago

http-router - v3.0.0-beta.7

Published by fenric 7 months ago

http-router - v3.0.0-beta.6

Published by fenric 7 months ago

http-router - v3.0.0-beta.5

Published by fenric 7 months ago

http-router - v3.0.0-beta.4

Published by fenric 7 months ago

http-router - v3.0.0-beta.3

Published by fenric 7 months ago

http-router - v3.0.0-beta.2

Published by fenric 7 months ago

http-router - v3.0.0-beta.1

Published by fenric 7 months ago

http-router - v2.16.2

Published by fenric almost 2 years ago

http-router - v2.16.1

Published by fenric over 2 years ago

  • Support for php 8.1.
http-router - v2.16.0

Published by fenric over 2 years ago

  • New method: Router::hasRoute(string):bool.
http-router - v2.15.1

Published by fenric over 2 years ago

  • Insignificant changes.
http-router - v2.15.0

Published by fenric over 2 years ago

  • New middleware: Sunrise\Http\Router\Middleware\JsonPayloadDecodingMiddleware.
http-router - v2.14.1

Published by fenric over 2 years ago

  • In-memory caching of route regular expressions for a long-running application.
http-router - v2.14.0

Published by fenric over 2 years ago

  • New method: Route::getHolder():Reflector (#94);
  • New method: Router::resolveHostname(string):?string;
  • New method: Router::getRoutesByHostname(string):array;
  • New method: RouterBuilder::setEventDispatcher(?EventDispatcherInterface):void.
http-router - v2.13.0

Published by fenric over 2 years ago

http-router - v2.12.0

Published by fenric over 2 years ago

  • The Router::getMatchedRoute() method was added;
  • The RouteCollection::appendMiddleware() method was marked as deprecated;
  • Readme was updated.
http-router - v2.11.2

Published by fenric almost 3 years ago

  • Improved tests #89 (thx @peter279k).
http-router - v2.11.1

Published by fenric about 3 years ago

  • The Route List Command was improved.
http-router - v2.11.0

Published by fenric about 3 years ago

  • New annotations: Host, Prefix, Postfix and Middleware (#38 #77);
  • GET method is the default for Route annotation.
Package Rankings
Top 3.11% on Packagist.org
Badges
Extracted from project README
Build Status Code Coverage Scrutinizer Code Quality Total Downloads Latest Stable Version License
Related Projects