Symfony Messenger pre and post-handle messages

Smaine Milianni
4 min readOct 2, 2022

๐Ÿ‘‹ Symfony comes with a lot of useful tools and powerful components, one of which is Messenger.

๐Ÿ“š Messenger allows you to dispatch a message and consume it a/synchronously, put simply you create an object that holds data and a handler to perform your logic with those data.

๐Ÿ’กYou can use it to perform an asynchronous operation, you push your message in aโ€ฆ

Smaine Milianni

Fullstack Developer- certified Symfony 4,5 and certified AWS Solution Architect - Freelancer - Remote Worker