I recently looked into the Symfony framework as I'd like to use it for some projects, however noticed that the routing is extremely awkward to use due to something called "annotations" which are basically comments above each controller method.
Is it possible to create a routes.php file and use that to overwrite the routing and completely disable these annotations? As I would like all routes in one file so it is much more flexible and maintainable.
You can use xml, yaml, php or annotation for route definitions. You just need to change this line in
framework: router: resource: "%kernel.root_dir%/config/routing.yml"
framework: router: resource: "%kernel.root_dir%/config/routing.php"
app/config/routing.php and remove