SedExporterBundle
This bundle helps to export your route definitions in yml, xml or php format.
It is useful if you defined your routes using annotations, but you want to migrate to something else. (For example to use Ioncube's PHP encoder, which can not work together with annotations.), (*1)
Keep in mind that the routes will be exported into one file and some information will be lost (e.g. prefix definitions) during the exportation., (*2)
, (*3)
Installation
-
Add SedRouteExporterBundle to your composer.json by running:, (*4)
bash
$ php composer.phar require sed/route-exporter-bundle 'dev-master'
, (*5)
-
Enable the bundle in the kernel:
``` php
<?php
// app/AppKernel.php, (*6)
public function registerBundles()
{
$bundles = array(
// ...
new Sed\RouteExporterBundle\SedRouteExporterBundle(),
);
}
```, (*7)
License
This bundle is under the MIT license. See the complete license in the LICENSE file., (*8)
About
The bundle is developed by the Department of Software Engineering, University of Szeged, (*9)
Usage
To export the route definitions run the command:
bash
$ php app/console sed:router:export --format <yaml/xml/php> --output <destination-dir>
, (*10)
Contribution
Issues and feautre request are tracked in the GitHub issue tracker., (*11)
If you want to contribute, send a pull request with your changes., (*12)