Symfony is an Open Source PHP framework for web applications and a set of reusable PHP components. Thousands of web sites and applications rely on Symfony as the foundation of their web services. And most of the leading PHP projects, such as Drupal and Laravel, use Symfony components to build their applications.


Symfony plugin is only available in CodeLobster IDE Professional.

CodeLobster IDE integrates with Symfony so you can use it from inside the IDE. Symfony support includes the following features:

Creating a Symfony project

If you have no application yet, you can generate a CodeLobster IDE project with Symfony - specific structure from a template. Symfony plugin has the wizard that helps you to get and install the latest official framework release.

To create Symfony project:

  1. Choose File | New | Project... main menu item. Select Symfony framework item in the opened dialog.


    Select Project | Symfony | Create project main menu item

  2. Define the project location, name and project URL for debugging.


    If you enable Create project in a new folder option CodeLobster IDE creates a subfolder with the project name.

  3. Click the OK button.

  4. Select a version of Symfony and click Next button.

  5. Enable Use Database option to setup your database.


    You can skip this step and go further without creating database by clicking Finish button.

  6. Define database parameters:

    • Database name - the name of the MySQL database where your project data will be stored.

    • User name - used to connect with MySQL server.

    • User password - used to connect with MySQL server.

    • Root login - used to create a MySQL user.

    • Root password - used to create a MySQL user.

  7. Click the Next button.

  8. Specify some advanced database options:

    • Database host - specify a host name, if your database is located on a different server.

    • Database port - specify database port, if it runs on a non-standard port.

  9. Click the Finish button to create the Symfony project.

    The Output window will display installation status:

Executing Symfony console commands

With CodeLobster IDE you can run Symfony console commands.


Firstly, you have to specify Path to symfony console in Tools | Preferences | Symfony to run Symfony commands.

To run Symfony command:

  1. Select Plugins | Symfony | Execute command main menu item to show Execute command dialog.

  2. Double click on command in the left pane to insert it to command line.

  3. Click the Execute button to run the command.

  4. The Result box will show the console output. Also, you can select the output text and copy.

Symfony IntelliSense

CodeLobster IDE provides IntelliSense for Symfony, which helps you write code more quickly and efficiently. IntelliSense saves you time by putting what you’re most likely to use at the top of your completion list. The IntelliSense suggestion box includes Symfony functions.

The suggestion list of the automatic completion appears as soon as you start typing. Pressing Tab or Enter will insert the selected item. You can trigger IntelliSense in the Editor window by pressing Ctrl + Space or using Edit | IntelliSense | Autocomplete main menu item.

Highlighting for .yaml files

CodeLobster IDE supports syntax highlighting for Yaml map keys, sequences, and comments.

Controller/View navigation

CodeLobster IDE can quickly switch between Controllers and Views in the Editor when developing. You can navigate between Template (/views/...) and Action (/controllers/...).

When you inside a Controller press Alt + O (or select Edit | Go to corresponding file main menu item) to jump to the corresponded View.

For example, you can jump from SiteController::actionIndex() to views\site\index.php file.

Tooltips for Symfony

Hover mouse for tooltips that includes descriptions for Symfony functions. Tooltips appear automatically when you hover the pointer over a function or some other element.

Symfony context and dynamic help

The Dynamic Help window allows opening help topics automatically for an element when the pointer is placed on. Symfony plugin uses the for a quick search for relevant information.

To get help topics using Dynamic Help:

  • Place the pointer on the target element and press the F1 button.

  • Select Help | Context Help main menu item.

  • Click the topic item in the Dynamic Help window.


    To get Dynamic Help to appear, choose View | Panels | Dynamic Help main menu item.