Top "Symfony" questions

Symfony refers to both a PHP framework for building web applications as well as a set of components on which the framework is built.

How do I delete an entity from symfony2

My first symfony2 project is a list of guests (invited in an event) stored in a database. I have created …

symfony doctrine
How to display string that contains HTML in twig template?

How can I display a string that contains HTML tags in twig template? My PHP variable contains this html and …

php html symfony twig
How do I read from parameters.yml in a controller in symfony2?

I have put a couple of custom variables in my app/config/parameters.yml. parameters: api_pass: apipass api_user: …

symfony symfony-2.3
Add more than one parameter in Twig path

How to add more than one parameter in Twig path? Say you have this route : article_show: pattern: /article/{slug} …

symfony twig
symfony2 : failed to write cache directory

I have had to use the app/console cache:clear command to solve a problem when generating an entity. I …

symfony
Symfony2 Setting a default choice field selection

I am creating a form in the following manner: $form = $this->createFormBuilder($breed) ->add('species', 'entity', array( …

forms symfony default symfony-forms
How to know which version of Symfony I have?

I know that I have downloaded a Symfony2 project and started with but I have updated my vendor several times …

php symfony
Doctrine query builder using inner join with conditions

I'd like to construct the following SQL using Doctrine's query builder: select c.* from customer c join phone p on …

sql symfony doctrine-orm
Symfony - generate url with parameter in controller

I want to generate a Url directly in my controller. I want to user a url defined in my routing.…

symfony symfony-routing
How to set a class attribute to a Symfony2 form input

How can I set the HTML class attribute to a form <input> using the FormBuilder in Symfony2 ? Something …

php forms symfony input formbuilder