Maybe something similar to the generate:bundle command (which after generating the bundle prompts to update the AppKernel) or to Composer (which updates your autoload with the dependencies you install).
I want to get a similar functionality to the generate:bundle, but instead of creating a new bundle I want to add a bundle I just downloaded without having to edit the AppKernel manually.
I couldn’t find a way to EXTEND an existing command, so my thought goes to create a new console command into an existing bundle.
You can now execute it, right after generating your bundle by doing
This will append this to the list of existing bundles
This works if you have a standard (symfony2) AppKernel. Ex: