objective-php / fastroute-package
FAstRoute integration for Objective PHP
Installs: 75 612
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 2
Open Issues: 1
Requires
- php: >=7.0
- nikic/fast-route: ^1.0
- objective-php/application: ^1.0.3
Requires (Dev)
- objective-php/router: 1.0.*
- phpunit/phpunit: 5.*
Suggests
- objective-php/matcher: ~1.1
This package is not auto-updated.
Last update: 2024-12-16 16:10:05 UTC
README
Project introduction
This package allow to easily make use of the FastRoute request router with Objective PHP
Installation
Manual
You can clone our Github repository by running:
git clone http://github.com/objective-php/fastroute-package
If you're to proceed this way, you probably don't need more explanation about how to use the library :)
Composer
The easiest way to install the library and get ready to play with it is by using Composer. Run the following command in an empty folder you just created for FastRoute:
composer require --dev objective-php/fastroute-package:dev-master
How to test the work in progress?
Run unit tests
First of all, please always run the unit tests suite. Our tests are written using PHPUnit, and can be run as follow:
cd [clone directory]/tests
./phpunit .
Configure the package
To be continued!