
In previous post, I show how to manage indices in Elasticsearch using elasticsearch-php library. In this post, I will show how to index document with this library. Read the post
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.
In previous post, I show how to manage indices in Elasticsearch using elasticsearch-php library. In this post, I will show how to index document with this library. Read the post
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. Read the post
Behat is a well known test behavior framework, used on many project. I always used it to validate webpage or API behavior. In this blog post, I will show you how to setup Behat to use it for testing Symfony command. Read the post
To change a small snippet on Doctrine 2 ORM to learn how to handle parentheses in the WHERE clause of an SQL query. Read the post
How to use Elasticsearch in a Symfony project? Which librairy or bundle to choose? I often read these questions on community slack. I'm not going to write a complete guide, but I give you my point of view on different tools I used in the past or still use. Read the post
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. Read the post
Today I tell you a little story about MariaDB and Doctrine2 sinking and how Redis, coming to save them, sinks them even faster. Feedback on my setbacks with Redis and Doctrine2 hoping to relieve a MariaDB out of breath. Read the post
There isn't an application that is really security proof and will not suffer to a data breach. Encryption of the data is a good approach to reduce data breach impact. In this post, I'm going to show you how to use encryption in PHP with real world case. Read the post
This article shows, by example, the usage and syntax of the Symfony2 Expression Language component in service files written in XML or Yaml. This component allows you to add dynamism to configuration files. Read the post
In this article, I show how to group its code in a PHP Phar archive. This step a little complicated, is now greatly facilitated by tools available on Github. I illustrate here, the use of clue/phar-dial. Read the post