Symfony is a PHP framework originally created by the Sensio Labs company in 2005. It is free software released under the MIT license. The actual major version is 4 and the last minor version is 4.2. One of the most interesting feature of this framework is that is has a predictable roadmap which is a huge edge when using in a professional context. It also provides a long term support version (LTS) which provides a minimum 3 years maintenance period. The actual LTS is 3.4.
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 2019-01-29 • Modified on 2019-01-30
In this post we will review one of the most used and useful service (in fact it's a value object) provided by Symfony which is the Request service Is is part of the HttpFoundation component. Symfony is indeed a "Request/Response" framework. It will be interactive, that means that you will be able to change the URL used in the examples and provide your own one so you can test with different parameters. It will therefore save you manual
dump() calls. 😉
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. ⏹