B
B
BonBon Slick2017-11-22 00:11:13
symfony
BonBon Slick, 2017-11-22 00:11:13

Best way to define route in Symfony?

Here I see 4 ways only in the docks. The question is for those who have been writing on the symphony for a long time and have dealt with large projects.
Which one is the most flexible and which one will be easier to maintain when the routes are over 500?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2017-11-22
@BonBonSlick

Yes, which one you like better and use it.
I personally prefer to use yaml.

A
Artemio Vegas, 2017-11-23
@ArtemioVegas

Of course, it’s a matter of taste, but as for me, if there are a lot of routes, then in YAML it’s visually more convenient to look at them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question