https://github.com/k-phoen/hoarouterbundle
[EXPERIMENT] Integrates Hoa/Router in Symfony
https://github.com/k-phoen/hoarouterbundle
Last synced: 26 days ago
JSON representation
[EXPERIMENT] Integrates Hoa/Router in Symfony
- Host: GitHub
- URL: https://github.com/k-phoen/hoarouterbundle
- Owner: K-Phoen
- License: mit
- Created: 2015-07-16T20:57:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-17T06:50:33.000Z (almost 10 years ago)
- Last Synced: 2024-05-01T20:12:59.265Z (12 months ago)
- Language: PHP
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HoaRouterBundle
===============**This bundle is an experiment** integrating [Hoa/Router](https://github.com/hoaproject/Router)
into Symfony. It replaces Symfony's Routing component by Hoa/Router.Rationale behind this bundle: fun. That's it.
**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.Installation
------------Require the bundle:
```
composer require 'kphoen/hoa-router-bundle:dev-master'
```And declare it into your `app/AppKernel.php` file:
```php
public function registerBundles()
{
return array(
// ...
new KPhoen\RulerZBundle\KPhoenRulerZBundle(),
);
}
```Usage
-----See [Symfony's documentation](http://symfony.com/doc/current/book/routing.html).
Register your routes and use the `routing` service as usual.
Licence
-------This bundle is under the [MIT](https://github.com/K-Phoen/HoaRouterBundle/blob/master/LICENSE) licence.