NetBeans IDE supports the running of Symfony2 commands. To run the commands from the IDE, choose Symfony2 | Run Command... from the project's context menu to launch the Run Symfony2 Command dialog box. In the dialog box, you may choose your desired Symfony commands and add parameters.
generate:bundle [--namespace="..."] [--dir="..."] [--bundle-name="..."] [--format="..."] [--structure]
generate:bundle command helps you generate new bundles. By default, the command interacts with the developer to tweak the generation. Any passed option will be used as a default value for the interaction (
--namespace is the only one needed if you follow the conventions):
php app/console generate:bundle ...