Relax
Yet another PHP 5.3+ microframework... Yeah, but this one is not a nth Sinatra clone ! ;-), (*1)
, (*2)
It is based on Symfony HttpFoundation
& Routing Components and
CommonJS For PHP Module pattern, and aims to be as lightweight as possible., (*3)
It is designed to be used with a simple YAML config file, which contains all the application routes and configuration parameters.
Create a new instance of Relax\Application
, give it the YAML file path, and... relax, it's ready!, (*4)
It is bundled with several common services Providers:
* Symfony Session Provider
* Symfony URL Generator Provider
* Twig Provider
* Monolog Provider, (*5)
Althought it doesn't use Symfony's HttpKernel, the Relax\Application
class implements
the Symfony\Component\HttpKernel\HttpKernelInterface
, and can be used with the pure PHP
Symfony Reverse Proxy., (*6)
Documentation will come soon. You can look at Unit Tests for more information., (*7)