kphoen/hoa-router-bundle

Integrates Hoa/Router in Symfony

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2015-07-17 06:50 UTC

README

This bundle is an experiment integrating Hoa/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:

public function registerBundles()
{
    return array(
        // ...
        new KPhoen\RulerZBundle\KPhoenRulerZBundle(),
    );
}

Usage

See Symfony's documentation.

Register your routes and use the routing service as usual.

Licence

This bundle is under the MIT licence.