Download the PHP package stoakes/routing-converter without Composer
On this page you can find all versions of the php package stoakes/routing-converter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stoakes/routing-converter
More information about stoakes/routing-converter
Files in stoakes/routing-converter
Package routing-converter
Short Description Routing.yml to annotations converter for Symfony
License MIT
Homepage https://github.com/stoakes/routing-converter
Informations about the package routing-converter
Routing Converter
Converts your routing.yml files to annotations.
Example
Before
` After
``
Installation
Then add to your AppKernel.php
``
Use it : php bin/console stoakes:convert_yml PATH_TO_A_ROUTING.YML_FILE [PREFIX]
php bin/console stoakes:convert_yml ./src/AppBundle/Resources/config/routing.yml /fr
How does it works
That bundle provides a convertion command that uses symfony core components (routing, http kernel) and redaktilo to modify your Controllers.
Tests
You : " - Hey that bundle is untested !!"
Me : " - I am working it. However I have created it in 2 evenings to convert routing in one of my app, and it works quite well"
All versions of routing-converter with dependencies
gnugat/redaktilo Version ~1.0
symfony/console Version ~2.3|~3.0
symfony/framework-bundle Version ~2.3|~3.0
symfony/http-foundation Version ~2.3|~3.0
symfony/http-kernel Version ~2.3|~3.0
symfony/routing Version ~2.3|~3.0
symfony/config Version ~2.3|~3.0