Nos articles taggués « symfony »
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 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 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
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
Use Bayesian Averages to Improve Rating Sorting in your Elasticsearch Index
EDIT: There were two typos in this article. In the formula we were wrong about the position of one of the arguments which made it wrong, we invite you to check again the formula so you can fix it too. And in the…
par Baptiste Leduc
SymfonyLive Paris 2022 – En chair et en os
Après 2 ans d’absence, le SymfonyLive faisait son retour en physique à la Cité Internationale Universitaire de Paris et nous a permis d’assister à un nouveau cycle de conférences de qualité ! Petit tour ce que…
par Loïck Piera, + 2 autres
Using Symfony Form in WordPress
What a strange idea! Once upon a time, a developer was asked to move a form from one application to another. The source application was a Symfony app. The target application was WordPress, the CMS that runs the…
par Damien Alexandre
Symfony Messenger 💛 systemd
In this article we will explore how to use systemd properly to run Symfony Messenger workers. What are Symfony Messenger and systemd? Symfony documentation says: The Messenger component helps applications send…
par Mathieu Santostefano
Symfony World Online 2021, édition chocolat chaud au coin du feu
À l’instar de 2020, cette conférence Symfony d’hiver s’est déroulée en ligne. Un événement que nous aurions tous aimé vivre en physique pour célébrer la sortie de Symfony 6.0, mais ça ne sera que partie remise…
par Grégoire Pineau, + 2 autres
Rate limit your Symfony APIs!
Sometimes, you need to put some custom rate limits on your APIs! In this article I’ll show you how you can combine the symfony/rate-limiter component and some usual controllers. RateLimit configuration The goal…
par Baptiste Leduc
Forum PHP 2021 : l’édition des retrouvailles 🤗
Après une édition en ligne en 2020, quelle joie d’enfin se retrouver, de pouvoir partager un verre (de punch 😇) à la main, un toast dans l’autre. C’est au 1er étage du Novotel Paris-Est que nous nous sommes retrouvés, …
par Grégoire Pineau, + 3 autres
Display Symfony form errors, without any submit
Imagine our database contains some invalid entries and we build a form allowing us to complete the entity: how can our users know which fields are invalid and need completion?! Building a Form with that invalid…
par Damien Alexandre
Symfony HttpClient and sequential requests assertions
Symfony/HttpClient is a powerful component to perform HTTP(s) requests. It already embeds a MockHttpClient and MockResponse to ease testing. When a method performs only one request, it’s very convenient to use, …
par Grégoire Pineau
How to dynamically validate some data with Symfony Validator
From time to time, you have to validate data according to another value, or group of values. We can do that quickly with plain PHP in a callback, or in a dedicated constraints like following: class MyDto { …
par Grégoire Pineau
Quoi de neuf sous le soleil de la SymfonyWorld Online Summer Edition 2021 ?
L’écosystème Symfony propose de nombreuses conférences chaque année, localisées et mondiales. En fin de semaine dernière avait lieu SymfonyWorld Online 2021 Summer Edition, qui est donc une conférence internationale…
par Damien Alexandre, + 2 autres
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