A simple PHP routing project template for handling URL routing in your PHP applications.
To set up the PHP Router project, follow these steps:
-
Create the Project:
composer create-project trinsyca/php-router example-app
-
Install Dependencies:
composer install
After changing the name of the project file,
make sure to fill in the APP_NAME
and DIRECTORY
data in the .env
file
and run the following command:
php trinsy make:htaccess