Notre blog
Nous partageons nos découvertes, nos retours d’expérience et plus généralement nos bonnes pratiques, dans l’objectif de diffuser la connaissance à tous.
Ce blog technique est le fruit de notre veille constante sur les technologies que nous employons.
Leverage Symfony VarDumper Component to Enhance your Dumps
Symfony’s VarDumper Component is a game changer when it comes to debugging. It allows us to dump variables in a clean and efficient way. We hope you already use it in your projects. If not, you should definitely…
par Grégoire Pineau
Comprendre et éviter les attaques CSRF grâce à Symfony
CSRF veut dire Cross-Site Request Forgery en anglais, une traduction française pourrait être « Falsification de requêtes inter-sites ». Dans cet article, nous allons faire un rappel de ce qu’est une attaque…
par Jérôme Gangneux
Handling signal with Symfony Command
A few years ago, we wrote an article (in french) about how POSIX signals work in PHP. Today, we want to share with you how to handle signals with Symfony Command. ⚠ This works only as of Symfony 6.3. Symfony 6.3…
par Grégoire Pineau
Aggressive Caching with Symfony HTTP Client
The Symfony CachingHttpClient The HttpClient component comes with a client that can cache responses when possible. It means the client won’t issue another request to the server if the response is already available…
par Grégoire Pineau
How to Configure DNS for Developing Webapp with Dnsmaqs once for all
When developing web applications locally, managing domain names quickly becomes a tedious chore. Whether you are running multiple projects simultaneously or using tools that require specific domain names (such…
par Grégoire Pineau
Quick PHP tip: Initialize a DateTime object from string, but with time resetted
Initialize the PHP DateTime object For a variety of reasons, we all have to initialize DateTime objects from strings like 2023–02–14. The quick and clean way to get an object from this kind of string is to use…
par Mathieu Santostefano
FOSDEM 2023, it’s back IRL!
After two years online, the FOSDEM is back in the ULB in Bruxelles. The biggest European meeting for developers of free and open source softwares reunited thousands of developers and other tech enthusiasts. Coming…
par Marion Hurteau
How to Fix Memory Leak in Doctrine Migrations
I had to write a Doctrine migration to fix some bad data. Unfortunately there was so much data (~600K records) that the migration leaked. The memory consumption reaches about 12Gb! That’s not really acceptable!…
par Grégoire Pineau
How to build a OR condition in Elasticsearch Query DSL
Today I want to share a little piece of information about the Elasticsearch Query DSL we all love and cherish. There is no « or » or « and » query. There was one in Elasticsearch <= 2.4 but it’s…
par Damien Alexandre
How TaggedLocator Can Help You Design Better Symfony Application
One of the features I love the most in Symfony is the TaggedLocator. It seems to not be well known and I believe it deserves more visibility! That’s why I want to explain how it works. I often see blog posts about…
par Grégoire Pineau
4 astuces CSS pour bien commencer l’année !
L’année 2022 a été, pour ma part, très riche en projets Web. 🎉 Ce fut donc l’occasion rêvée d’expérimenter de nouvelles méthodologies d’intégration, de passer du côté obscur de la force en adoptant Tailwind CSS…
par Jonathan Levaillant
Fine tune an OpenAPI specification for mocking
More and more often, in the projects I work on, I need to mock APIs. When I’m lucky enough, the API provides an OpenAPI specification, but sometimes it can be heavy. I almost never need to locally mock the whole…
par Mathieu Santostefano
La microtypographie au service de la lisibilité
La microtypographie, bien appliquée sur votre site Web peut grandement améliorer la lisibilité. Regardons de plus près comment ça fonctionne 🔎 Ça se mange ? En voici la définition d’après Wikipedia : Lisibilité…
par Marion Hurteau
Redis et la mémoire de PHP sont dans un bateau, il coule
La situation initiale 👍 Dans un de nos projets, nous avons un endpoint d’API qui retourne de gros JSON à ses clients. Les clients sont des serveurs, donc la bande passante n’est pas un problème. Il y a quelques…
par Grégoire Pineau
SymfonyCon at Disneyland Paris for the 15+2th birthday of Symfony
After more than two years of waiting, SymfonyCon 2020 2021 2022 was held at Disneyland Paris on November 17th and 18th. We were delighted to meet community members, other members of the Core Team, as well as contributors…
par Grégoire Pineau, + 1 autre
SymfonyCon Disneyland Paris pour les 15+2 ans de Symfony !
Après plus de deux ans d’attente, la SymfonyCon 2020 2021 2022 s’est tenue à Disneyland Paris les 17 et 18 novembre derniers. Nous étions ravis d’y retrouver des membres de la communauté, les autres membres de…
par Grégoire Pineau
We are open-sourcing a silly Slack bot, guess what it does!
At JoliCode we use Slack to communicate. And to bring fun to our daily life, we have created a #monologue channel where we can share our thoughts, our feelings, our dreams, our fears, our jokes, our memes, our…
par Grégoire Pineau
Dites-nous tout !
Un de nos articles vous a aidé dans votre travail et vous voulez nous remercier ? Vous avez trouvé une typo ou une erreur ? N’hésitez pas à nous le faire savoir en nous envoyant un message