Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dalma's avatar
Level 6

Queue worker setup

I'm trying to find some documentation on configuring queue worker on Forge. I found a couple of laracasts showing a beanstalk configuration example but it appears that only Redis option is available now.

Do I need to add any dependencies to my project and configure the environment variables to simply use redis rather than sync?

0 likes
1 reply
Nash's avatar
Nash
Best Answer
Level 20

Beanstalk, Amazon SQS, Redis (or just the database) should all work just fine: https://laravel.com/docs/5.6/queues#driver-prerequisites

Yes, you will need to add the right dependencies depending on which driver you intend to use. From the docs:

  • Amazon SQS: aws/aws-sdk-php ~3.0
  • Beanstalkd: pda/pheanstalk ~3.0
  • Redis: predis/predis ~1.0

Here's a video on how to set up a (beanstalkd) queue worker with Forge . It's a little dated but the general idea should still be the same:

https://laracasts.com/series/server-management-with-forge/episodes/7

Remember to also add a table for failed jobs: https://laravel.com/docs/5.6/queues#dealing-with-failed-jobs

Please or to participate in this conversation.