sadist / mrouter
There is no license information available for the latest version (dev-main) of this package.
dev-main
2022-06-09 04:38 UTC
This package is auto-updated.
Last update: 2024-09-10 12:18:13 UTC
README
How to use this library? METHOD 1:
- Clone this repository :
git clone https://github.com/prunepal333/minimalist-router.git
- Start working on top of this architecture.
METHOD 2:
- Initialize the project:
composer init
- Run the following command from the project's directory:
composer require 'sadist/mrouter'
- Run
composer install
Note: This project is not meant for production and developed solely for learning and educational purposes only.
I would recommend you to opt for symfony routing (for medium to large projects).
FastRoute is a smaller and lightweight alternative that supports named route parameters, parameter pattern matching, route groups.
If you are looking for a full-fledged micro-framework capable of routing, then, you should look for Slim framework documentation.