I'm building a web app using Symfony2 with Assetic. I would like to make a manifest file , but I have to manually add the file names to the list.
I can use PHP to get all static files (in [app/Bundle]/Resources/public), so I can generate of list of those files easily. But the other files (stylesheets, javascripts and images) are being generated by Assetic.
Is there a way to get a list of those generated files, so I can add them to a manifest-file?
All files are registered in router
php app/console debug:router
You can see what the command is doing, by viewing the source: Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php. You can extract what you need.