An Oracle blog about NetBeans for PHP

Symfony support finished

Guest Author

Hi all, today I would like to announce that the support for Symfony PHP Framework (as we planned it for NetBeans 6.8) is finished. So, what's new?

(If you missed our previous blog post about Symfony support in NetBeans, please, read it here.) 

Now, code completion offers proper Symfony variables in Symfony views.

Symfony variables are present in code completion (I)

Symfony variables are present in code completion (II)

Also, one can very easily navigate between Symfony views and actions. Of course, these actions are not present in other PHP files.

So, if you navigate from view to action... 

Go to Action

... you will end there :)

Navigated to Action

You can navigate vice versa as well (please notice that you must invoke the action from the body of a method).

Go to View

One can assign shortcut for this action.

Symfony Shortcuts

Please notice that these improvements will be available in NetBeans 6.8 Beta (will be released soon) .

Now, it's time to use NetBeans for your own Symfony projects or to follow Symfony tutorial to see whether Symfony support is good enough or should be improved. So, please test it and report all the issues or enhancements you find in NetBeans IssueZilla (component php, subcomponent symfony).

Join the discussion

Comments ( 30 )
  • Endijs Lisovskis Friday, October 2, 2009

    Is there any chance that we could expect similar support for Zend Framework anytime soon?

  • Alex Friday, October 2, 2009

    Very nice. Thank you. But i can't download the latest build because your server is down.

  • Thomas R. Friday, October 2, 2009


    It will be great to have a feature like : jump to action , just by typing "frontend homepage". this will open the correction actions.class.php from the frontend application and the homepage module !

    Keeps going the good work !

  • Tomas Mysik Friday, October 2, 2009

    To Endijs Lisovskis:

    Feel free to add any ideas to issue:




  • Tomas Mysik Friday, October 2, 2009

    To Alex:

    Try it later, please. Thanks.

  • Tomas Mysik Friday, October 2, 2009

    To Thomas R.: Sorry, it is not clear what you mean exactly (where to type "frontend homepage"?).


  • nico_somb Friday, October 2, 2009

    Good news.

    I tried with an already symfony project to navigate between views & actions... and when I was in executeShow() method, NetBeans redirected me to indexSuccess.php and not to showSuccess.php.

    it that normal?


  • nico_somb Friday, October 2, 2009

    sorry, I was wrong, it works.

    I did a right click on the head of my function and not into the function... that's why it didn't work.

  • Robert Speer Friday, October 2, 2009

    Thomas Mysik: Thomas R. would like to type in a application name and a module name and have the action open up.

    Whenever symfony dev's are talking about where something is in a project application name & model name act like a street address.

    Since modules are, or should be, easy to figure out that's all that is usually needed for a use case or user story.

  • HDB Sunday, October 4, 2009

    Oh, when you said finished, you meant completed! And I felt relieved :).

  • zfzfzfzfzfzfzfzfzf Monday, October 5, 2009

    F\*\*k this SH!T!! Seriously, who cares about Symfony? I want ZendFramework!

  • Andrew Monday, October 5, 2009

    How about CakePHP support. This should be next on the list :)

  • Жёпка Monday, October 5, 2009

    +1000 for Zend Framework - it's support in Zend Studio is the only reason why i still didn't switch to NetBeans.

  • saleh Tuesday, October 6, 2009

    plz plz support of CakePHP

  • DavidTan Tuesday, October 6, 2009

    Great job. Hopefully CakePHP and ZF will be fully supported soon as well.

  • Tomas Mysik Wednesday, October 7, 2009

    To zfzfzfzfzfzfzfzfzf:

    Symfony has significantly more votes then any other framework.

  • Tomas Mysik Wednesday, October 7, 2009

    To Andrew:

    CakePHP support is possible - it depends on the exact plans for future NetBeans releases and how many votes CakePHP will have ;)

  • Jozef Thursday, October 8, 2009

    Many thanks for Symfony support, i have just added my vote to Zend Framework issue. Will you renew the voting http://blogs.sun.com/netbeansphp/entry/issue_145913_historically_the_most ?

  • ReynierPM Thursday, October 8, 2009

    It's possible to integrate this one with my NetBeans 6.7.1 installed release? If is possible, how?

  • Tomas Mysik Friday, October 9, 2009

    To ReynierPM:

    Unfortunately not, but NB 6.8 Milestone 2 was released, feel free to use it.

  • jcleveley Friday, October 9, 2009

    Thanks guys!

    This is great, makes my life with symfony a lot easier.


  • Жёпка Saturday, October 10, 2009

    Tomas Mysik: It has more votes because the developers of symphony posted a call on their homepage to mark up the votes. If the same thing would be done by calling the fans of ZF to vote, it's obvious zf would win, but it's a shame that they didn't even know about the votings.

  • Tomas Mysik Monday, October 12, 2009

    To Жёпка:

    To voting - chances are the same for everyone...

  • Oktodindon Tuesday, October 13, 2009

    This is nice, but it unfortunately doesn't work if you have several symfony projects in the same Netbeans project.

  • Tomas Mysik Wednesday, October 14, 2009

    To Oktodindon:

    Sounds a bit weird to me - why don't you have an NB project per each Symfony project?

  • Anton Danilchenko Friday, October 23, 2009


    I propose you create configurable support of many different frameworks. For example, my framework phpDays based on MVC pattern (and symfony too). And I have configure this feature for my developers for simplify their life.

    Please, help us with this improvement!


  • Petr Pisl Tuesday, October 27, 2009

    To Anton: I have talked about a possibility to configure support of a framework, but it depends what you want to do. In your case, what do you expect from such configuration?

  • Giovanni Thursday, October 29, 2009


    also please consider Yii Framework support, instead of prado support. In the bugtracker you can only vote for prado right now.

    As from some comments in the issue related to Zend Framework support, I agree that a poll system would be better than to have to vote on a bugtracker system but also that if anonymous users can vote then the results may be faked..

    Anyway, also a simple implementation of Yii Framework support would be great like "jump to .. view / model / controller" and so on.


  • Anton Danilchenko Tuesday, November 3, 2009

    To Petr Pisl.

    I propose next features:

    1) create new frameworks configuration in special tab "Frameworks" into "PHP" tab. This configuration created by users and extend from original base of configurations (we create configurations for symfony, ZF, CakePHP and phpDays frameworks). This configurations will be available in this plugin after installation.

    2) In configuration need set data for:

    2.1) cache location (for clear cache and other temprory data). Include one or more folders

    2.2) MVC location (models, views and controllers location). Need set by mask (in my framework used view "View/user/register.html" with "Controller/User.php" and action "registerAction")

    2.3) tests files location

    2.4) path to helpers

    3) Work with helpers need to understand and implement it feature in next version of plugin (for save our time)

    Please, implement this features while NB 6.8 under development and include it to final NB 6.8.

    All questions send me by email or in comments.


  • Huvelle Hadrien Sunday, April 4, 2010


    That's great!

    However, for me the first improvement to develop. Is to be able to set the symfony directory as a property of each project.

    The guidelines from symfony is to put the symfony libs in a subdirectory of the project: lib/vendor/symfony.

    The advantage is that de project and is configuration is in the project directory and therefore, realy easy to manage.

    Kind regards


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.