Programming language PHP

I learned software programming with PHP language. This language evolve a lot and I'm usig it for +20 years. In these posts I'm talking about basic stuff but also some more advanced and ready to use solution, with most of the time real world usage.

Protect your application with Symfony rate limiter component

Brut force or enumeration attack are not limited to login form. An easy way to fix this is to rate limit usage of your application. There are many solution out there to achieve that, in this post I show you how to do it with Symfony rate limiter component. I will also show you how to protect your server with long running task to avoid server overwhelming.

Manage Elasticsearch indices with elasticsearch-php library

I already wrote on this blog about elasticsearch-php library maintained by Elastic, the firm that created Elasticsearch. It's my first choice when I need to add Elasticsearch to a project. This library wrap the whole REST API of Elasticsearch including indices management and this is the subject of this post. How to manage indices with elasticsearch-php.

Migrate to Jenkins pipeline for my PHP Symfony project

Yes, we are in 2022 and I'm still using Jenkins and not the hype CI like gitlab or github action. In fact I have just migrated all my old job definition from Phing (it's like Ant but written in PHP) to declarative pipeline. It's faster to run, config file are easier to read and I still keep metrics. Want to know more? Read this article.