Symfony4 has been released on November 30th 2018. Unlike Symfony3 that was "just" an improved Symfony2. Symfony3 rethinks the way we can develop with this framework. One of the major feature of this version is that it allows to use Symfony Flex to automate the most common tasks and it eventually introduces a simpler directory structure. The second major feature it that it is now "Micro by default", therefore the Silex micro framework was discontinued.
Published on 2019-04-18 • Modified on 2019-04-18
In this post we will see how to implement a "Read in your language" link in your pages. The goal will be to detect the user browser preferred language and show him a link if the current page is available in his language.
Published on 2019-03-14 • Modified on 2019-03-20
In this post we will see how to send logs to Slack. A typical usage is of course to send critical errors so you are warned in real time to be able to quickly fix the issues. But we can also send other types of notifications.
Published on 2018-11-16 • Modified on 2019-01-06
In this post we will see how to implement a fail2ban like system for Symfony. It will log login failure attempts for a given IP and will prevent further tries once a critical threshold is reached. When happening, a customized error page will be displayed to the user. ⏹