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 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. ⏹