有没有办法将队列工作者放入Symfony 4?

Currently I am working in a Symfony 4 environment that needs to periodically (by cron) work through a queue of commands/actions, without having to install server-packages like RabbitMQ.

In Laravel there is the magnificent Queuing system that works with database-synced queues and a listening worker. Is something like this available for Symfony 4?

I've tried installing JMSJobQueueBundle and QueueBundle, but both fail to install in Symfony 4.

You can use Bernhard (or even easier: the BernhardBundle for Symfony.

It will allow you to add queuing to your application and supports the filesystem as persistence store, so there is no need for external software.

Hope this helps !

you have this bundle https://github.com/php-enqueue/enqueue-dev wich provide a lot options

DtcQueueBundle is also a nice queue/worker library, it supports Symfony 4 and (very important) is still actively maintained.