Download the PHP package liamato/ligght without Composer
On this page you can find all versions of the php package liamato/ligght. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ligght
ligght
The simple PHP router
ligght is a PHP micro router that helps you to easily route your HTTP Requests. ligght is the easiest and fastest way to create an API.
Features
- Standard HTTP Methods
- GET
- POST
- PUT
- DELETE
- PATCH
- OPTIONS
- HEAD
- DEBUG
- Custom HTTP Methods using
\ligght\Interfaces\HttpMethod
interface - Parameter routing
Getting Started
Required
- PHP >= 5.3.*
- Apache
mod_rewrite
Configure evironment
You must include that snippet in .htaccess
file:
Or copy this .htaccess file to the same folder of your index.php
Hello World Tutorial
Set a route like this:
And run the router:
Style Guide
Full coded with PSR-2 Coding Style
All versions of ligght with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package liamato/ligght contains the following files
Loading the files please wait ....