Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thephpleague/route
Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.
https://github.com/thephpleague/route
fastroute php routing
Last synced: about 1 month ago
JSON representation
Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.
- Host: GitHub
- URL: https://github.com/thephpleague/route
- Owner: thephpleague
- License: mit
- Created: 2015-01-12T10:21:02.000Z (almost 10 years ago)
- Default Branch: 5.x
- Last Pushed: 2024-09-28T09:18:39.000Z (2 months ago)
- Last Synced: 2024-10-29T20:56:12.363Z (about 1 month ago)
- Topics: fastroute, php, routing
- Language: PHP
- Homepage: http://route.thephpleague.com
- Size: 1.21 MB
- Stars: 651
- Watchers: 29
- Forks: 126
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
- awesome-php - Route - A routing library built on top of Fast Route. (Table of Contents / Routers)
- awesome-projects - Route - A routing library built on top of Fast Route. (PHP / Routers)
- awesome-php - Route - A routing library built on top of Fast Route. (Table of Contents / Routers)
- awesome-php-cn - Route - 路由图书馆建立在快速的路线. (目录 / 路由 Routers)
README
# Route
[![Author](https://img.shields.io/badge/[email protected]?style=flat-square)](https://twitter.com/philipobenito)
[![Latest Version](https://img.shields.io/github/release/thephpleague/route.svg?style=flat-square)](https://github.com/thephpleague/route/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/thephpleague/route/master.svg?style=flat-square)](https://travis-ci.org/thephpleague/route)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/thephpleague/route.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/route/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/thephpleague/route.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/route)
[![Total Downloads](https://img.shields.io/packagist/dt/league/route.svg?style=flat-square)](https://packagist.org/packages/league/route)This package is compliant with [PSR-1], [PSR-2], [PSR-4], [PSR-7], [PSR-11] and [PSR-15]. If you notice compliance oversights, please send a patch via pull request.
[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
[PSR-7]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-7-http-message.md
[PSR-11]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-11-container.md
[PSR-15]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-15-request-handlers.md## Install
Via Composer
``` bash
$ composer require league/route
```## Requirements
The following versions of PHP are supported by this version.
* PHP 7.2
* PHP 7.3
* PHP 7.4
* PHP 8.0## Documentation
Route has [full documentation](http://route.thephpleague.com), powered by [Jekyll](http://jekyllrb.com/).
Contribute to this documentation in the [docs directory](https://github.com/thephpleague/route/tree/master/docs/).
## Testing
``` bash
$ vendor/bin/phpunit
```## Contributing
Please see [CONTRIBUTING](https://github.com/thephpleague/route/blob/master/CONTRIBUTING.md) for details.
## Credits
- [Phil Bennett](https://github.com/philipobenito)
- [Nikita Popov](https://github.com/nikic) ([FastRoute](https://github.com/nikic/FastRoute))
- [All Contributors](https://github.com/thephpleague/route/contributors)## License
The MIT License (MIT). Please see [License File](https://github.com/thephpleague/route/blob/master/LICENSE.md) for more information.