Download the PHP package chahal26/php-simple-router without Composer
On this page you can find all versions of the php package chahal26/php-simple-router. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chahal26/php-simple-router
More information about chahal26/php-simple-router
Files in chahal26/php-simple-router
Download chahal26/php-simple-router
More information about chahal26/php-simple-router
Files in chahal26/php-simple-router
Vendor chahal26
Package php-simple-router
Short Description Simple Routing made with OOPS in PHP
License MIT
Package php-simple-router
Short Description Simple Routing made with OOPS in PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package php-simple-router
chahal26/php-simple-router
A simple & lightweight PHP Router made with Object Oriented PHP. Built with :heart: by Sahil Chahal
It currently supports static routes only.
Prerequisites/Requirements
- PHP >= 8.0
- URL Rewriting
Installation
chahal26/php-simple-router
can be easily installed using
Usage
Create an instance of \Chahal26\PhpSimpleRouter\Router
, define some routes, and run it.
Available Routing Methods
- GET
- POST
Defining Routes
Static Routes
With Controller
Or a namespace can also be defined
Example
All versions of php-simple-router with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.0
The package chahal26/php-simple-router contains the following files
Loading the files please wait ....