webong/propane
Larablocks Analysis
webong/propane has no release yet to check Laravel compatibility against.
Recommendation checks
Use with careUse with care: meets 0 of 3 checks.
- No dated releases
- 1 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.
| Install | |
|---|---|
composer require webong/propane:dev-main |
|
| PHP: | ^8.3 |
| License: | proprietary |
| Last Updated: | Nov 30, 2026 |
| Links: | GitHub · Packagist |
Propane
Propane runs Laravel HTTP and queue workers on Workerman or RoadRunner. Use Laravel's queue:work for jobs, add Horizon for supervisor controls, or add Octane to serve HTTP with octane:start. Propane generates the RoadRunner configuration when each process starts.
Install
Propane requires Laravel 13 and PHP 8.3 or newer with pcntl and posix on Linux or macOS. Install the development version with Composer.
composer require webong/propane:dev-main
To use a local checkout during development, configure a Composer path repository.
composer config repositories.propane path /path/to/propane
composer require webong/propane:@dev
Propane installs without a worker runtime. Add the packages for the drivers you use. Propane extends the commands from Octane and Horizon when the app installs those packages. RoadRunner also needs an rr binary in the app directory or on PATH.
Run HTTP with Octane
For Workerman HTTP, install Octane and Workerman.
composer require laravel/octane:^2.26 workerman/workerman:^5.2
For RoadRunner HTTP, install Octane and the RoadRunner PHP HTTP worker.
composer require laravel/octane:^2.26 roadrunner/http:^4.2
Set OCTANE_SERVER=workerman or OCTANE_SERVER=roadrunner. Use Octane settings and command options to set the host, port, worker count, and request limits. Set roadrunner.binary in config/octane.php to choose the RoadRunner executable. Use roadrunner.http for RoadRunner-specific HTTP options such as middleware, static files, or RPC.
php artisan octane:start
php artisan octane:status
php artisan octane:reload
php artisan octane:stop
octane:start runs in the foreground. octane:reload reloads the workers using the active configuration. The Workerman adapter buffers responses, including streamed responses and file downloads. Use a reverse proxy for Workerman TLS and static assets.
If you supply a custom RoadRunner worker via octane.roadrunner.command, octane:reload needs roadrunner/goridge for RPC. roadrunner/http normally installs it through its dependencies.
Run Laravel queues with Workerman
Install Workerman to run Laravel queue workers under Workerman.
composer require workerman/workerman:^5.2
Start a worker with queue:work
Add 'runner' => 'workerman' to an existing queue connection in config/queue.php. Keep that connection's Laravel driver, such as redis or database. Dispatch jobs to the connection as usual.
'redis' => [
'driver' => 'redis',
'runner' => 'workerman',
// Keep the existing Redis connection and queue settings.
],
php artisan queue:work redis --queue=mail,default --tries=3 --backoff=5
php artisan queue:work redis --once
Each command starts one foreground Workerman worker and exits when Laravel's worker exits. Laravel handles queue options, job events, retries, timeouts, and exit limits such as --max-jobs and --stop-when-empty. Horizon is optional.
Start a worker pool with horizon
Install laravel/horizon to use supervisor settings and management commands.
composer require laravel/horizon:^5.0
Point a Horizon supervisor at the Workerman connection in config/queue.php. Horizon reads the supervisor's connection and Propane reads the runner from that connection. Move any previous HORIZON_RUNNER setting to the queue connection's runner entry.
'environments' => [
'production' => [
'mail' => [
'connection' => 'redis',
'queue' => ['mail', 'default'],
'maxProcesses' => 4,
],
],
],
Workerman starts a fixed number of workers for each Horizon supervisor using maxProcesses and that supervisor's connection and queue settings. The pool uses Laravel's worker for job execution, retries, failed-job logging, and recycling. Workerman honors tries, backoff, timeout, memory, maxJobs, maxTime, sleep, rest, and force.
php artisan horizon
php artisan horizon:status
php artisan horizon:pause
php artisan horizon:continue
php artisan horizon:terminate --wait
Horizon sends pause, continue, and termination commands to its supervisors. Workerman uses the supervisor's sleep setting to poll Redis so an idle worker can respond to lifecycle commands. Horizon uses Redis to store supervisor state.
Run RoadRunner Jobs
Install the RoadRunner Jobs package in each app that dispatches or consumes jobs.
composer require roadrunner/jobs:^4.9
In config/queue.php, set runner to roadrunner and choose a broker with driver. Set QUEUE_CONNECTION to the connection name. This example runs an in-memory queue.
QUEUE_CONNECTION=roadrunner
'roadrunner' => [
'driver' => 'memory',
'runner' => 'roadrunner',
'queue' => env('RR_QUEUE', 'default'),
'binary' => env('RR_BINARY'),
'lifecycle' => env('RR_QUEUE_LIFECYCLE', 'queue'),
'after_commit' => false,
],
Both queue commands use roadrunner/jobs for delivery and Laravel's worker for job execution, events, retries, and timeouts. The connection's lifecycle setting controls how the app is prepared for each job.
For SQS, keep the AWS settings in Laravel's queue connection. Propane turns these into RoadRunner's sqs settings and gives each generated pipeline an SQS queue name.
'orders' => [
'driver' => 'sqs',
'runner' => 'roadrunner',
'queue' => env('SQS_QUEUE', 'orders'),
'suffix' => env('SQS_SUFFIX'),
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'token' => env('AWS_SESSION_TOKEN'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'endpoint' => env('SQS_ENDPOINT'),
'after_commit' => true,
],
queue is the logical Laravel queue name. SQS uses that name with suffix appended, or the explicit config.queue you provide. RoadRunner looks up the queue on the broker using its own AWS settings, including IAM credentials supplied to its process. RoadRunner SQS configuration
Propane generates a pipeline for the default queue and each queue selected by queue:work --queue or the matching Horizon supervisors. Add entries under pipelines to customize specific queues or declare extra queues for publishing. Each entry accepts RoadRunner's driver and config fields. The connection's optional broker array supplies RoadRunner's top-level settings for that driver, and its config array supplies shared pipeline settings. Per-queue config settings take precedence. RoadRunner pipeline configuration
| Driver | Settings in the Laravel connection |
|---|---|
memory |
No broker settings. Jobs are held in memory. |
boltdb |
Propane chooses a separate file per pipeline in the connection's generated configuration directory. Set pipelines.<queue>.config.file to retain an existing database path. |
sqs |
Use Laravel's AWS settings as above. broker can override them. |
nsq |
Set broker.addr for nsqd and optionally config.channel. Requires a RoadRunner binary with the NSQ Jobs plugin. |
nats |
Set broker.addr for JetStream. Use config for the stream and subject when they differ from the queue name. |
kafka |
Set broker.brokers and the pipeline's consumer settings. Propane publishes to the first configured consumer topic by default. Set options.topic for a different publish topic. |
rabbitmq or amqp |
Set the AMQP DSN in broker and the exchange and queue in config. RoadRunner v3 takes named connections and nested exchange and queue settings. RoadRunner RabbitMQ configuration |
beanstalk |
Set host and optional port, or provide broker.addr. Propane uses the Laravel queue name as the tube by default. |
google_pub_sub |
Set config.project_id and the Google Cloud or emulator endpoint in broker. Set credentials to an optional Application Default Credentials file path. RoadRunner Google Pub/Sub configuration |
Redis queues use driver => 'redis' with Workerman or Laravel's native workers. RoadRunner's Redis plugin provides key-value storage. RoadRunner Redis plugin
Use the same rpc address for the producer apps and the consumer process. It defaults to tcp://127.0.0.1:6002. Optional runtime settings include binary, logs, and endure. Connections using the original driver => 'roadrunner' configuration can continue declaring explicit pipelines.
Implement Webong\Propane\Queue\HasQueueOptions to set RoadRunner publish options on an individual job.
Choose a queue lifecycle
| Lifecycle | Use it when | Tradeoff |
|---|---|---|
queue (default) |
You want Laravel's standard queue worker lifecycle. | Boots the console kernel and clears scoped bindings between jobs. |
octane |
Your jobs benefit from Octane's per-task sandbox or listeners such as TaskReceived and TaskTerminated. |
The upstream Laravel bridge loads Octane. Each job runs in a cloned application container and triggers Octane's task listeners. |
To use the Octane lifecycle, install the bridge and set RR_QUEUE_LIFECYCLE=octane in .env. The bridge also installs roadrunner/jobs.
composer require roadrunner-php/laravel-bridge:^6.8
The setting applies to both queue:work and horizon for the selected connection. You can run either lifecycle alongside an HTTP or gRPC process.
Start a worker with queue:work
php artisan queue:work roadrunner --queue=mail,default --tries=3 --backoff=5
php artisan queue:work roadrunner --once
php artisan queue:work roadrunner --stop-when-empty-for=10
You can omit the connection name when RoadRunner is the default queue connection. Propane starts rr in the foreground with one PHP worker. --queue selects RoadRunner pipelines, and their configured priorities determine delivery order. Connections without a Propane runner use Laravel's native queue:work.
--tries,--backoff,--timeout,--force,--memory, and--restapply to the Laravel worker. Job-specific retry and timeout settings take precedence.--jsonwrites Laravel job events to stdout and sends RoadRunner logs to stderr.--once,--max-jobs, and--max-timestop the command. The job limit counts attempts, including retries. The time limit lets an active attempt finish.--stop-when-emptyand, where available in Laravel,--stop-when-empty-foruse the broker counts reported by RoadRunner. The accuracy of these counts depends on the pipeline driver.--sleepcontrols the empty wait and idle checks. Delayed jobs can become available after these commands exit. Use a persistent broker to keep jobs across RoadRunner restarts.
Start a worker pool with horizon
Install laravel/horizon in the app to use these commands with RoadRunner Jobs.
php artisan horizon
php artisan horizon:status
php artisan horizon:pause
php artisan horizon:continue
php artisan horizon:terminate --wait
Set the supervisor's connection to a RoadRunner connection in config/horizon.php. The app's QUEUE_CONNECTION can point elsewhere. Horizon can run its native Redis workers, Workerman, and RoadRunner in the same master.
RoadRunner starts one process per connection. Supervisors sharing that connection contribute their queues and their maxProcesses to a single fixed pool under the first supervisor's name. Assign each RoadRunner connection a distinct rpc address when running several on one host.
Choose either Horizon or a standalone queue:work for each RoadRunner connection. Horizon commands control the workers started by Horizon. Dispatching to a paused pipeline leaves it paused. Set RoadRunner's endure.grace_period to allow jobs to finish on shutdown.
Generated configuration
Propane writes .rr.yaml with mode 0600 under storage/framework/propane/roadrunner-http for HTTP and storage/framework/propane/roadrunner-jobs/connection-<name> for each queue connection. These files are replaced on startup. After changing Laravel configuration, rebuild the Laravel config cache if you use one and restart the affected process.
Queue dashboard
Install and configure Laravel Horizon, including its Redis connection, then open its normal dashboard. Database and RoadRunner jobs appear in Horizon's Pending Jobs, Completed Jobs, and Failed Jobs pages. Redis queues use Horizon's existing tracking. Horizon stores history and metrics in Redis even when jobs are delivered through another driver.
Dashboard shows pending workload for configured database queues and RoadRunner pipelines, plus Redis queues served by Workerman. Worker status comes from Propane runners visible to the web process on the same host, whether started with horizon or queue:work. Workerman displays configured worker slots. RoadRunner displays its live PHP worker count and shares that pool across its pipelines.
Job history begins when the integration observes a Laravel job being queued or executed. Use Horizon's horizon:snapshot schedule to collect chart data. Laravel Horizon documentation
Verify
composer install
PROPANE_TEST_RR=/path/to/rr PROPANE_TEST_REDIS_PORT=6379 composer test
The tests boot isolated Laravel apps. They cover request isolation, queue dispatch, worker recycling, retry, and graceful shutdown. Setting PROPANE_TEST_RR enables RoadRunner integration tests. Setting PROPANE_TEST_REDIS_PORT with phpredis enabled adds the Redis queue test against a local Redis instance.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.