/routing4php

Flexible yet fast HTTP routing library for PHP.

Primary LanguagePHPMIT LicenseMIT

pedroac\routing for PHP

Build Status Codacy Badge Support via PayPal

A flexible routing library that maps HTTP requests to a set of variables and callables.

Running the tests

Run from the library root folder:

php/vendor/bin/phpunit php/tests/ -c php/tests/configuration.xml

If the tests were successful, php/tests/coverage-html should have the code coverage report.

Generating HTML documentation

Run from the library root folder:

sh scripts/generate-docs.sh

If the documentation was generated successfully, the folder docs should have the HTML documentation.

Examples

Versioning

It should be used SemVer for versioning.

Authors

License

pedroac/routing is released under the MIT public license.
See the enclosed LICENSE for details.