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.

SQLSTATE[HY000] [1045] Access denied for user 'root'@'127.0.0.1' (using password: NO) SYMFONY2

So I'be been working on a symfony2 project and it was all good, then i wanted to host it on …

mysql symfony deploying
How do I disable the Symfony 2 profiler bar?

It's not adding anything and it makes the page slower and I want it gone. Don't ask. There's little about …

debugging symfony profiler
Disable symfony 2 csrf token protection on ajax submit

i'm building a mobile app talking to my symfony2 app via webservices I can't find a way to disable csrf …

ajax symfony csrf
Symfony redirect to external URL

How can I redirect to an external URL within a symfony action? I tried this options : 1- return $this->…

symfony redirect header response
Symfony2 - Assetic - load images in CSS

I have a CoreBundle that contains main css files and images. Now I have a problem when I load an …

css image background-image symfony assets
Slow updating of composer dependencies, despite --prefer-dist flag

Why does it take up to two minutes for my composer dependencies to update, even when there have been no …

php symfony composer-php
In TWIG, is possible to get absolute url of a link with twig variables in it?

I have several URLs that look as follows: {{domainID}}/action/{{userId}}/anotherAction And the latter URL points to: http://localhost/…

symfony twig
request with multiple id Symfony2 Doctrine

I've got an array of IDs and I'd like to get an entity array from my IDs array. I can't …

symfony doctrine-orm
Symfony2 security functions in Twig? How to check the user's role?

I have Symfony 2.0.9 standard edition installed with JMSSecurityBundle. Just wondering what functions are available to me in a Twig template …

symfony twig
How to inject the @request into a service?

When I try to inject the @request into any of my services, I get this exception: ScopeWideningInjectionException: Scope Widening Injection …

symfony service dependency-injection