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

g41797's avatar
Level 1

Would a non-PHP Laravel queue worker be useful?

Foreign Worker:

  • Is application written on non-PHP language
  • Listens on Queue and processes Jobs
  • Supports the same set of drivers (SQS, Redis, ...)
  • Extendable: possibility to add
    • new type of driver
    • job handlers
  • Simple for development and maintenance
  • Supports php-nonPhp e2e testing

Benefits (at least for Go Workers) : improved performance/latency and cost (for cloud base projects).

Ofcourse message format should be simple (e.g. JSON) in order to simplify unmarshalling on non-PHP side

I'd like to implement this software on Go, but don't know whether it's valuable use case: some months ago I raised the same question (github.com/yiisoft/queue/issues/194) on Yii Queue repo without success.

Or possible it may be done straightforward (themsaid.com/using-golangs-coroutines-to-handle-laravel-jobs) and does not require any additional framework/library/package

What do you think?

Reply or participate in Polls (github.com/laravel/framework/discussions/51854)

I can not use urls (first day on the board), sorry you need to add https:// by yourself

0 likes
5 replies
rodrigo.pedra's avatar

Does Laravel need Foreign (non-PHP) Workers for Laravel Queue

added bold for clarification

Answer: no.

Laravel ships with a PHP worker implementation. So it doesn't need a foreign worker to have its queues running.

On the other hand, asking if "Would a non-PHP Laravel queue worker be useful?"

Then, I'd say that depending on the workload, or if it adds features not yet present, then I'd say to give it a go (pun intended).

1 like
Snapey's avatar

it would be quite a lot of work since Laravel's queue uses serialised php objects , and eloquent to hydrare models etc

You would probably need to create a bridge that takes php data and converts it to some other queue format

1 like
g41797's avatar
Level 1

@Snapey Sure, but I am talking about simple JSON based message

g41797's avatar
Level 1

@Snapey performance/latency ans price (for cloud base projects)

Please or to participate in this conversation.