Yes, you can generate URLs with the routing component too - see http://symfony.com/doc/current/components/routing/introduction.html#generate-a-url