Symfony

Symfony is a set of reusable php components and a PHP framework for web projects.

How to return a JSON response with Symfony 1.4
Learn how to return a JSON string as response from an action in Symfony 1.4
How to print safely a string variable from PHP in JavaScript with Symfony 1.4
Learn how to safely print a string from the PHP context to a JavaScript context.
Implementing a custom 500 error page for exceptions in Symfony 1.4
Learn how to implement a custom 500 error page for exceptions in the production environment in Symfony 1.4
How to signin manually an user in Symfony 1.4 with the sfGuardPlugin
Learn how to signin manually an user from a controller without knowing his password in Symfony 1.4
How to detect the city, country and locale from a visitor's IP using the Free GeoLite Database in Symfony 3
Learn how to use the Free GeoLite Databases to detect the country, city and locale from your visitor's IP in Symfony 3.
How to convert a webm video to mp4 using FFMpeg in Symfony 3
Learn how to convert a webm video to mp4 easily using FFMpeg in Symfony 3
Implementing global non-static helper functions in Symfony 1.4
Learn how the helper methods work in Symfony 1.4 and how to implement them.
How to create a dependent select (dependent dropdown) in Symfony 3
Learn how to implement a dependent select in a Form of Symfony 3.
How to retrieve every Entity Instance of an EntityType field with Twig inside a Symfony 3 Form
Learn how to retrieve the entity object of every option inside a EntityType field with Twig in your Symfony form.
How to solve FOSUserBundle Exception: The service "fos_user.mailer" has a dependency on a non-existent service "templating"
Learn why this exception occurs while implementing FOSUserBundle in Symfony 3.4.