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:

  1. Clone this repository : git clone https://github.com/prunepal333/minimalist-router.git
  2. Start working on top of this architecture.

METHOD 2:

  1. Initialize the project: composer init
  2. Run the following command from the project's directory: composer require 'sadist/mrouter'
  3. 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.