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.

Laravel migrations: Class "not found"

I am deploying a Laravel barebone project to Microsoft Azure, but whenever I try to execute php artisan migrate I …

php symfony laravel azure
How do I get the user IP address in Symfony2 controller?

I need to store the IP address of the users who comment, in the database after form submission. Is there …

symfony ip-address
Swiftmailer: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

I'm posting because I've already gone through the solutions posted in other questions on here but they haven't helped. What …

php email symfony swiftmailer
Posting JSON objects to Symfony 2

I'm working on a project using Symfony 2, I've built a bundle to handle all my database services which passes JSON …

php ajax json symfony
Symfony getting logged in user's id

I am developing an application using Symfony2 and doctrine 2. I would like to know how can I get the currently …

symfony doctrine-orm dql
"Class XXX is not a valid entity or mapped super class" after moving the class in the filesystem

I had an entity class in Aib\PlatformBundle\Entity\User.php I had no problems trying to create its form …

php symfony doctrine-orm
Output array in Twig

I trying to output an array from the database to the screen. In my entity: /** * @ORM\Column(type="array", nullable=…

arrays symfony doctrine-orm twig longtext
Symfony 2: INNER JOIN on non related table with doctrine query builder

I'm trying to build a query with the doctrine query builder which joins a non related table like this: $query = $…

php mysql symfony doctrine query-builder
Symfony2 Path to image in twig template

I store img in Acme/DemoBundle/Resources/public/img/weather_icon/blizzard.gif I want to put this img in …

symfony twig assetic
How to get list of all routes of a controller in Symfony2?

I have a controller which implements all routes/URL(s). I had the idea to offer a generic index over …

symfony indexing controller routes symfony-2.1