Categories
PHP

Tailwind CSS v2 in Symfony 5

The new version of Tailwind is even sweeter then the original. Read up on the new v2 version here. Or continue to the no-nonsense guide to using Tailwind CSS v2 in your Symfony 5 project.

Categories
PHP

Class ‘Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain’ not found

When upgrading from doctrine/orm 2.7 to doctrine/orm 2.8 it is possible you get following error when creating your custom entity manager:

Categories
PHP

Solution: Symfony message handler doesn’t complete

If your Symfony Messenger message handler doesn’t finish executing it is mostly due to an error or a memory shortage. Also make sure your routing is set up correctly.

Categories
PHP

Using a Symfony Console Command from within a Symfony Messenger MessengerHandler

Imagine having a console command you use for cron jobs. And you would like to use that command when handling queued messages from the Symfony Messenger.

Categories
PHP

RabbitMQ Error: fwrite(): send of x bytes failed with errno=104 Connection reset by peer