Overview for 'symfony'

Symfony Messenger 💛 systemd

Written by JoliCode / Original link on Dec. 29, 2021

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 and receive messages to / from other applications or via message queues. Concretely, our…

Rate limit your Symfony APIs!

Written by JoliCode / Original link on Nov. 22, 2021

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 here is to have the following rate limit configuration works thanks to PHP8 attributes…