Hi all, today we would like to show you how you can develop your Symfony2 projects with Twig templates in NetBeans 7.1.

First, you need to download RC version of NetBeans 7.1. Then, among available plugins (Tools > Plugins), there is a Symfony2 plugin. This plugin (which will be part of the next version of NetBeans) now provides just the basic support for Symfony2 framework as can be seen on its homepage:

Run Comand

Create new Symfony2 project

For editing Twig templates, this plugin registers the built-in Smarty support - yes, this is definitely far from perfect. Much better solution is to download and use the Twig support for NetBeans written by Sebastian Hörl. BTW this plugin will be part of the next version of NetBeans - thanks a lot Sebastian for your contribution!

That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans BugZilla (component php, subcomponent Symfony).