trinsyca / php-router
A simple PHP routing framework.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
pkg:composer/trinsyca/php-router
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