Symfony

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

How to generate an universally unique identifier (UUID) in Symfony 3
Learn how to create a UUID using the uuid PHP Library in your Symfony project.
How to check if a variable exists and it's not empty with Twig using a short syntax
Learn a short and sweet way to verify if a variable is defined and not empty with a twig filter.
How to push an item to an array in Twig easily
Learn how you can append an item to an array in Twig (array_push way).
Answers and explanations to 20 Questions that every Twig Developer Should be Able to Answer
See the answers to our previous quiz about 20 questions that every Twig developer should be able to answer.
20 Questions that every Twig Developer Should be Able to Answer
Read and answer or little quiz of 20 questions that every Twig developer should be able to solve.
How to configure a file uploader for a single field (Doctrine Entity) in Symfony 3.3
Learn how to allow the upload of a file within a form created from a Doctrine Entity easily without moving the file manually in the controller on every action.
How to install packagist libraries using composer on Symfony 1.4
Learn how to manipulate third party libraries using composer on your legacy symfony 1.4
How to make a Symfony Project 1.4.20 fully compatible with PHP 5.5 or 5.6 (remove Deprecated: preg_replace() warnings)
Learn how to make a legacy symfony project version 1.4.20 fully compatible without errors for a newer version of PHP (5.5 and 5.6).
Using a Bootstrap 4 Pagination Control Layout with KnpPaginatorBundle in Symfony 3
Learn how to implement a Bootstrap 4 pagination control for the widely known KnpPaginatorBundle in Twig.
Implementing a nudity detector with PHP in Symfony 3
Learn how to implement a nudity detector using PHP in Symfony 3.