Poetry of Programming

Because coding is art
  • rss
  • Home
  • Symfony
  • Search

Symfoclipse - Symfony Development Tools for Eclipse

Krzysztof Karolczak | Monday May 5th, 2008

Symfoclipse is an optimal Symfony Framework development environment integrated with Eclipse. Easy to install and use is probably the best choice for anyone who has just started developing projects in Symfony.

The plug-in ads a Symfony view to Eclipse which extends the normal PHP Perspective in PDT (PDT stands for PHP Development Tools) an gives us a direct access to all framework-defined actions plus there’s a helpful YAML editor included for Symfony configuration files ( and last but not least a nice ‘s’ icon appears next to Symfony projects ;) ).

What is Eclipse? It’s a big open-source community project aimed to create a “development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle“. Especially Java developers will find it useful (or even as a must-have software), but it also offers an extensive IDE for C/C++, PHP… and much more.

0. You’ll definitely need Symfony up and running ;)

( Symfony Framework installation guide. )

1a. All-In-One Pack = Eclipse + PDT - for those who don’t have Eclipse installed.

As said before Symfoclipse needs Eclipse with a PDT plug-in configured. The easiest way to do that is to download a All-In-One bundle which works out of the box ( I recommend getting a Release Build from the PDT download | PDT Home ). You’ll also need to have a Java SE 5.0+ installed on your PC (you probably have - but it maybe worth upgrading anyway). The install process is quite straight forward - just extract the zip file and your done.

Getting used to Eclipse layout and functionality may take a while, but there are many great manuals out there. And it’s worth it.

1b. Installing PDT - if you already have Eclipse.

If you have Eclipse you can install PDT by its update manager. Go to Help Software Updates Find and Install. Choose the “Search For New Feature to Install“, add a new site (”New Remote Site…”) with the following link “http://download.eclipse.org/tools/pdt/updates/” and press Next to start the update process. In case of any problems refer to the Eclipse Wiki.

2. Downloading and installing Symfoclipse

The installation process is the same as with most Eclipse plug-ins and it’s done via the update manager. Go to Help Software Updates Find and Install. Choose the “Search For New Feature to Install“, add a new site with the “http://noy.cc/symfoclipse/” link and press Next to start the updating. After the download has finished you’ll need to restart Eclipse and you’re done.

Symfoclipse functionality

Symfony View

It’s a modified PHP Exlporer view and it can be activated by selecting Symfony View in Show View (Window Show View Other). It enables the CLI (Command Line Interface) commands to be accessible directly by right-clicking the Symfony directories in project listing.

So let’s start off with a first app. After creating a normal PHP project (File New PHP Project) we need to right-click it’s icon and select “Init Project” from the very bottom of the context menu. The result is the same as entering symfony init-project in the command line and you can notice all the messages appearing in the Console.

After the project initialization you can right-click again ( notice the ‘s‘ icon is added ;) ) - you should see more Symfony Framework functions available.

YAML Editor

Symfoclipse adds also an YAML editor, which is very simple but has one functionality worth mentioning - a build-in auto validator that comes in handy when editing Symfony’s configuration files ( which tend do be easily buggable ;) ).

The editors automatically opens .yml and .yaml files from our projects. If you want to open a different file with it you’ll need to right-click it an choose Open With Symfoclipse YAML Editor

Categories
Symfony
Tags
eclipse, PDT, PHP
Comments rss
Comments rss
Trackback
Trackback

« Conversion table for px, pt, em and % in CSS

4 responses

Dear Sir, I am trying to install Symfoclipse for my eclipse.

Ravi Gurbaxani | Tuesday May 13th, 2008

Dear Sir,
I am trying to install Symfoclipse for my eclipse. I visited Help—>Software Updates—>Find and Install and added the URL mentioned here. And this is what I get as an response

Network connection problems encountered during search.
Unable to access “http://noy.cc/symfoclipse”.
Error parsing site stream. [Premature end of file.]
Premature end of file.
Error parsing site stream. [Premature end of file.]
Premature end of file.

Thanks in advance

I have already done the proxy settings

Ravi Gurbaxani | Tuesday May 13th, 2008

I have already done the proxy settings

Hi guys, i've just install simfoclipse but i've got a

Luca | Thursday May 15th, 2008

Hi guys,
i’ve just install simfoclipse but i’ve got a problem. i’m a mac user and i use MAMP to develop so the path of pear and consequently the path of symfony are not in the default place.
How can i force symfoclipse to look for symfony in a specific path?

Hi :) Setting the path to symfony.bat in your PATH

Krzysztof Karolczak | Thursday May 15th, 2008

Hi :)
Setting the path to symfony.bat in your PATH environment variable should do the trick.

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Language

  • English
  • Polski


Navigation

  • css
  • Symfony
    • Installation

Blogroll

  • Symfony

Tags

css (1) eclipse (1) framework (1) PDT (1) PHP (2) symfony framework (1)

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox