Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Roadrunner Worker Laravel Package

spiral/roadrunner-worker

PHP worker library for running apps on RoadRunner with the Spiral ecosystem. Provides a Worker API to handle incoming requests/jobs and communicate with the RoadRunner server, enabling high-performance, long-running PHP processes for HTTP and background tasks.

View on GitHub
Deep Wiki
Context7
v3.6.2

What's Changed

Full Changelog: https://github.com/roadrunner-php/worker/compare/v3.6.1...v3.6.2

v3.6.1
v3.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/roadrunner-php/worker/compare/v3.5.0...v3.6.0

v3.5.0

What's Changed

Full Changelog: https://github.com/roadrunner-php/worker/compare/v3.4.0...v3.5.0

v3.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/roadrunner-php/worker/compare/3.3.0...v3.4.0

3.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/roadrunner-php/worker/compare/3.2.0...3.3.0

3.1.0

What's Changed

Full Changelog: https://github.com/roadrunner-php/worker/compare/3.0.0...3.1.0

3.0.0

Features

  • Upgraded to PHP 8.1
  • Upgraded to PHPUnit 10
  • Upgraded to Psalm 5
  • Added reusable Gh Actions
  • Added metapackage spiral/roadrunner:^2023

Breaking Changes

Spiral\RoadRunner\WorkerInterface Changes

It has been updated with two new methods:

  • hasPayload(string $class = null): bool
  • getPayload(string $class = null): ?Payload

If your code uses Spiral\RoadRunner\WorkerInterface, you will need to update it to include these new methods.

Spiral\RoadRunne\Worker Changes

It has been updated to include a new constructor argument, allowing for a custom logger to be set.

The constructor signature is now:

public function __construct(
    private readonly RelayInterface $relay,
    bool $interceptSideEffects = true,
    private readonly LoggerInterface $logger = new Logger(),  // <====== new argument
) {
   ...
}

Spiral\RoadRunner\Payload Changes

It has been marked as internal, which means that it can no longer be used directly by user code.

Additionally, the body and header properties have been marked as readonly, which means that they cannot be modified once set.

Spiral\RoadRunner\Exception\RoadRunnerException Changes

It has been marked as final, which means that it can no longer be extended by user code. If your code extends it, you will need to update it to handle exceptions in a different way.

Please note that these changes may require updates to your existing code, so be sure to review the breaking changes before upgrading to version 3.0.0.

Full Changelog: https://github.com/roadrunner-php/worker/compare/v2.3.0...3.0.0

v2.2.0
v2.1.5
  • added MODE_TCP constant
v2.1.4
  • added MODE_GRPC constant
v2.1.3
  • Add PSR >1.0 logger support
v2.1.2
  • Fix output interceptor (use direct output instead of psr-3)
v2.1.1
  • Fix output buffering size
v2.1.0
  • Added Mode::MODE_JOBS environment support
v2.0.0
  • PHP and Golang codebase split
  • HTTP worker extracted from the package
  • Upgraded to Goridge 3.0 version
  • Fewer dependencies
v2.0.3
  • Added RR_MODE environment variable enum
v2.0.2
v2.0.1
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport