Symfony2 / How to create and register new bundle

The generate:bundle generates a new bundle structure and automatically activates it in the application.
By default the command is run in the interactive mode and asks questions to determine the bundle name, location, configuration format and default structure:
php app/console generate:bundle

More info about available options can be found here: Generating a New Bundle Skeleton

No comments:

Post a Comment