Download the PHP package tkaratug/titan-router without Composer
On this page you can find all versions of the php package tkaratug/titan-router. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tkaratug/titan-router
More information about tkaratug/titan-router
Files in tkaratug/titan-router
Download tkaratug/titan-router
More information about tkaratug/titan-router
Files in tkaratug/titan-router
Vendor tkaratug
Package titan-router
Short Description A simple and lightweight PHP router
License MIT
Homepage https://github.com/tkaratug/titan-router
Package titan-router
Short Description A simple and lightweight PHP router
License MIT
Homepage https://github.com/tkaratug/titan-router
Please rate this library. Is it a good library?
Informations about the package titan-router
Titan Router
A simple and lightweight PHP router. Built by Turan Karatuğ (http://www.turankaratug.com)
Features
- Supports
GET
,POST
,PUT
,DELETE
,OPTIONS
,PATCH
andHEAD
request methods - Static Route Patterns
- Dynamic Route Patterns
- Easy-to-use patterns
- Allowance of
Class@Method
calls - Before Route Middlewares
- Namespaces Supports
- Route Groups Supports
- Subdomain Supports
- Subfolder Supports
- Custom 404 Handling
Installation
Installation is possible using Composer
Usage
Shorthands for single request methods are provided:
Note: Routes must be hooked before Route::execute()
is being called.
Class@Method
calls
We can route to the class action like so:
Before Route Middlewares
Namespaces Supports
Subfolder Supports
Subdomain Supports
Multiple Groups
Custom 404
Override the default 404 handler using Route::set404(function);
All versions of titan-router with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package tkaratug/titan-router contains the following files
Loading the files please wait ....