trinsyca / php-router
A simple PHP routing framework.
v1.0.4
2024-06-19 23:11 UTC
Requires
- php: >=7.4
- vlucas/phpdotenv: ^5.6
README
A simple PHP routing project template for handling URL routing in your PHP applications.
Installation
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
Configuration
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