trinsyca/php-router

A simple PHP routing framework.

v1.0.4 2024-06-19 23:11 UTC

This package is auto-updated.

Last update: 2025-07-20 01:48:47 UTC


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:

  1. Create the Project:

    composer create-project trinsyca/php-router example-app
  2. 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