17/07
2015
Wallogit.com
2017 © Pedro Peláez
Integrates Hoa/Router in Symfony
This bundle is an experiment integrating Hoa/Router into Symfony. It replaces Symfony's Routing component by Hoa/Router., (*1)
Rationale behind this bundle: fun. That's it., (*2)
N.B: This project is just an experiment. I wanted to know if it would work (spoiler alert: it does) but it's far from being finished/production-ready and will probably never be., (*3)
Require the bundle:, (*4)
composer require 'kphoen/hoa-router-bundle:dev-master'
And declare it into your app/AppKernel.php file:, (*5)
public function registerBundles()
{
return array(
// ...
new KPhoen\RulerZBundle\KPhoenRulerZBundle(),
);
}
See Symfony's documentation., (*6)
Register your routes and use the routing service as usual., (*7)
This bundle is under the MIT licence., (*8)