A PHP micro-framework based on the CommonJS Module pattern and Symfony2 Components
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
php_modules/relax/providers
src/Relax
tests
.gitignore
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

Relax

Yet another PHP 5.3+ microframework... Yeah, but this one is not a nth Sinatra clone ! ;-)

build status

It is based on Symfony HttpFoundation & Routing Components and CommonJS For PHP Module pattern, and aims to be as lightweight as possible.

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!

It is bundled with several common services Providers:

  • Symfony Session Provider
  • Symfony URL Generator Provider
  • Twig Provider
  • Monolog Provider

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.

Documentation will come soon. You can look at Unit Tests for more information.