sed / route-exporter-bundle
Tool to export Symfony's routing definitions in yml, xml or php format.
Installs: 16 781
Dependents: 1
Suggesters: 0
Security: 0
Stars: 11
Watchers: 2
Forks: 8
Open Issues: 2
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/console: ~2.3
- symfony/framework-bundle: ~2.3
- symfony/routing: ~2.3
- symfony/yaml: ~2.3
This package is not auto-updated.
Last update: 2024-12-17 02:38:40 UTC
README
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.)
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.
Installation
- Add SedRouteExporterBundle to your composer.json by running:
$ php composer.phar require sed/route-exporter-bundle 'dev-master'
- Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Sed\RouteExporterBundle\SedRouteExporterBundle(), ); }
License
This bundle is under the MIT license. See the complete license in the LICENSE file.
About
The bundle is developed by the Department of Software Engineering, University of Szeged
Usage
To export the route definitions run the command:
$ php app/console sed:router:export --format <yaml/xml/php> --output <destination-dir>
Contribution
Issues and feautre request are tracked in the GitHub issue tracker.
If you want to contribute, send a pull request with your changes.