route

Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

653
128
PHP

Route

Author
Latest Version
Software License
GitHub Actions Workflow Status
Coverage Status
Quality Score
Total Downloads

This package is compliant with PSR-1, PSR-2, PSR-4, PSR-7, PSR-11, PSR-12 and PSR-15. If you notice compliance oversights, please send a patch via pull request.

Install

Via Composer

$ composer require league/route

Requirements

The following versions of PHP are supported by this version.

  • PHP 8.1
  • PHP 8.2
  • PHP 8.3
  • PHP 8.4

Documentation

Route has full documentation, powered by Jekyll.

Contribute to this documentation in the docs directory.

Testing

$ vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.