Coming Soon
You need composer to install the MethBundle.
-
Open your composer.json in your project
-
Add bundle in your app/AppKernel.php
-
Add require "canaltp/meth-bundle": "dev-master"
-
Add url of the repository, 'http://packagist.canaltp.fr'
-
Add configuration in your app/config/routing.yml (not required)
-
In your project don't forget to declare service of navitia component (in service.yml) /!\
// AppKernel.php ... new CanalTP\MttBundle\CanalTPMethBundle(), ...
// routing.yml canal_tp_meth: resource: "@CanalTPMethBundle/Resources/config/routing.yml" prefix: /meth
// composer.json { ... "repositories": [ { "type": "composer", "url": "http://packagist.canaltp.fr" }, ... ], "require": { ... "canaltp/mtt-bundle": "dev-master" }, ... }
// service.yml navitia_component.class: Navitia\Component\Service\ServiceFacade ... navitia_component: class: "%navitia_component.class%" factory_class: "%navitia_component.class%" factory_method: getInstance calls: - [ setConfiguration, [%config.navitia%]]
- Vincent Degroote - vincent.degroote@canaltp.fr
- Rémy Abi-Khalil - remy.abikhalil@canaltp.fr