Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zaphyr-org/router

Robust PSR-7 router supporting attribute-based routing, complete with PSR-15 middleware and PSR-11 container support, all built upon the foundation of FastRoute.
https://github.com/zaphyr-org/router

fast-route psr-11 psr-15 psr-7 router routing

Last synced: about 2 months ago
JSON representation

Robust PSR-7 router supporting attribute-based routing, complete with PSR-15 middleware and PSR-11 container support, all built upon the foundation of FastRoute.

Awesome Lists containing this project

README

        

![License](https://img.shields.io/github/license/zaphyr-org/router?style=for-the-badge)
![Version](https://img.shields.io/packagist/v/zaphyr-org/router?style=for-the-badge)
![Downloads](https://img.shields.io/packagist/dt/zaphyr-org/router?style=for-the-badge)
![Stars](https://img.shields.io/github/stars/zaphyr-org/router?style=for-the-badge)
![Issues](https://img.shields.io/github/issues/zaphyr-org/router?style=for-the-badge)

# Router

Robust [PSR-7](https://www.php-fig.org/psr/psr-7) router supporting
[attribute-based](https://www.php.net/manual/en/language.attributes.overview.php) routing, complete with
[PSR-15](https://www.php-fig.org/psr/psr-15/) middleware and [PSR-11](https://www.php-fig.org/psr/psr-11) container
support, all built upon the foundation of [FastRoute](https://github.com/nikic/FastRoute).

## System Requirements

You need `PHP => 8.1.0` but the latest stable version of PHP is recommended.

## Installation

It's recommended that you use [Composer](https://getcomposer.org/) to install the router repository.

```console
composer require zaphyr-org/router
```

## Documentation

You can read the full documentation [here](https://zaphyr.org/docs/1.x/repositories/router).

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Issues

Bug reports and feature requests can be submitted on the [GitHub Issue Tracker](https://github.com/zaphyr-org/router/issues).

## Security

If you discover security related issues, please email [email protected] **instead of using the issue tracker!**

## Contributing

Please see [CONTRIBUTING](https://zaphyr.org/contributions) for details.

## Code of Conduct

Please see [CODE OF CONDUCT](https://zaphyr.org/contributions#code-of-conduct) for details.

## License

This project is licensed under the MIT license. See [LICENSE](LICENSE.md) for more information.