2

i just integrate fos_user Bundle , and this latter use xml routing file ! i want to know if there is a command or somthing to convert it to yml file

0

1 Answer 1

1

You can use this online tool :

http://converter.rosstuck.com/

You can also install and use this bundle which provides a command to do this :

app/console container:convert yml path/to/file.xml
Sign up to request clarification or add additional context in comments.

6 Comments

when i try to install TuckConverterBundle by using this command : composer require tuck/converter-bundle and i obtain : installation failed reverting ./composer.json to its original content
if you had this line : "tuck/converter-bundle": "dev-master" in your composer.json and then execute this command : app/console composer update tuck/converter-bundle ?
Installation request for symfony/symfony (locked at v3.1.3, required as 3.1.*) -> satisfiable by symfony/symfony[v3.1.3].
huuum it is possible that this bundle cant be used for Symfony >= 3.*
when i use converter.rosstuck.com it does'y work when i put : <route id="fos_user_registration_register" path="/" methods="GET POST"> <default key="_controller">FOSUserBundle:Registration:register</default> </route> what should i put ?
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.