O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running Symfony2 console commands inside NetBeans

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.

For example:

generate:bundle [--namespace="..."] [--dir="..."] [--bundle-name="..."] [--format="..."] [--structure]

The 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required