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.

Empty field in yaml

I want to leave a value in my .yaml field empty, because in another translation there has to be something …

php symfony yaml
The requested PHP extension intl is missing from your system (SonataAdminBundle) in Symfony2

I try to install the sandbox but I get the following error from composer: Loading composer repositories with package information …

php symfony intl
How to set a date in Doctrine 2?

I have a field named "birthday" in doctrine entity. I would like to create an object to add to database …

symfony doctrine doctrine-orm
Symfony2 Doctrine Expr 'IS NOT NULL'

I'm using the FormType for an Entity of mine, and setting up an entity field. I need two Where clauses …

symfony doctrine-orm
Simple check if form field has errors in Twig template

In Twig template I check if a field has an error like this: {% if form.points.get('errors') is not …

symfony twig symfony-forms
How to use phpunit installed from composer?

I want to start unit testing my symfony 2 application with phpunit. I installed phpunit using composer (per-project dependancy). http://www.…

symfony phpunit composer-php
Twig Symfony2 get Request variable

I know I can do this: app.request.get('name') ...but how do I do this? app.request.get(twig_…

symfony twig
Doctrine query building select MAX

I would like to select everything + MAX value and receive only rows having max values. $query = $this->createQueryBuilder('s'); $…

symfony doctrine-orm doctrine symfony-2.1
Doctrine2 migrations migrate down and migrate from browser and not command line

I am using Doctrine2 migrations. I need some answers about my doubt, I canno find a good solution in documentations …

php mysql symfony doctrine-orm
Run bower from root user, it's possible? How?

I have a local development server where I test a lot of things, now I'm playing with bower to manage …

node.js symfony bower