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.

Symfony2 & Doctrine: Create custom SQL-Query

How can I create a custom SQL query in Symfony2 using Doctrine? Or without Doctrine, I don't care. Doesn't work …

php sql symfony doctrine
Symfony2 - Force file download

I'm trying to download a file when a user clicks on download link. In Controller: $response = new Response(); $response->…

php symfony header download
How to access an application parameters from a service?

From my controllers, I access the application parameters (those in /app/config) with $this->container->getParameter('my_param') …

php symfony yaml
Troubleshooting "No such file or directory" when running `php app/console doctrine:schema:create`

I am new to Symfony2 (beta4) and Doctrine and am having issues when i try to create the DB schema …

php mysql doctrine-orm symfony
How to go back to referer after login failure?

For login success there is a parameter use_referer: true. For login failure there is only failure_path, which isn't …

redirect symfony login referer
Is there a built-in way to get all of the changed/updated fields in a Doctrine 2 entity

Let's suppose I retrieve an entity $e and modify its state with setters: $e->setFoo('a'); $e->setBar(…

php symfony doctrine-orm doctrine
Add a column to an existing entity in Symfony

I've been playing around with Symfony on my web server and I've been creating entity with doctrine for my database. …

php symfony doctrine-orm
How to insert a Controller in Twig with "render" in Symfony 2.2?

I'm upgrading my project from Symfony 2.0.22 to 2.2.0 and review somes changes, but i'm blocked on this : I would like to …

symfony twig symfony-2.2
Symfony2 invalid form without errors

I've got a problem with a Symfony2 generated CRUD form. (With MongoDB Documents, but I do not think that this …

forms validation symfony
How do you check if an object exists in the Twig templating engine in Symfony2?

I have a multidimensional array where some objects exist and others don't. I keep getting a Method "code" for object "…

symfony twig