Download the PHP package alirezasalehizadeh/routail without Composer
On this page you can find all versions of the php package alirezasalehizadeh/routail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alirezasalehizadeh/routail
More information about alirezasalehizadeh/routail
Files in alirezasalehizadeh/routail
Download alirezasalehizadeh/routail
More information about alirezasalehizadeh/routail
Files in alirezasalehizadeh/routail
Please rate this library. Is it a good library?
Informations about the package routail
A spidey PHP router like Tarantulas
Features
- Support
get
,post
,put
,patch
,delete
andany
method - Support optional parameter
- Middlewares
- Route group
- Url generator
Requirements
PHP >= 8.2
Getting Started
Installation
via Composer
Route definition
The example below, is a quick view of how you can define an route and run it
Route group definition
Usage
Middlewares
To use middlewares, you need to create a class that extends from the AlirezaSalehizadeh\Routail\Middleware
class and implement the handle
method that returns a boolean
Url generator
By url
method, you can create url from route name easily
Route parameter types
Route parameters can have a type, which can be optional
Examples
Contributing
Please read the CONTRIBUTING.md file.
License
MIT.
All versions of routail with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2.0
The package alirezasalehizadeh/routail contains the following files
Loading the files please wait ....