PHPackages                             iron-io/laraworker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. iron-io/laraworker

ActiveLibrary[Queues &amp; Workers](/categories/queues)

iron-io/laraworker
==================

LaraWorker is a helper package that makes integrating your Laravel application with Iron.io's IronWorker very easy!

435.7k6[1 issues](https://github.com/iron-io/laraworker/issues)PHP

Since Jul 6Pushed 10y ago18 watchersCompare

[ Source](https://github.com/iron-io/laraworker)[ Packagist](https://packagist.org/packages/iron-io/laraworker)[ RSS](/packages/iron-io-laraworker/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![laraworker](../master/images/laraworker.png)](../master/images/laraworker.png)

LaraWorker is a helper package that makes integrating your Laravel application with Iron.io's IronWorker very easy!

[IronWorker](http://www.iron.io) makes it super easy to add queuing and background processing to your Laravel applications.

### Installation

[](#installation)

1. Run `composer require iron-io/laraworker`.
2. Set Iron.io credentials in `app/config/queue.php` (or `config/queue.php` in Laravel 5.0 and higher) and set default to iron --&gt; `'default' => 'iron',`

    To get your [Iron.io](http://www.iron.io) credentials, signup for a free account at [Iron.io](http://www.iron.io).
3. Install the IronWorker artisan commands for upload and run

    `php vendor/iron-io/laraworker/LaraWorker.php -i true`

    This script will also copy worker example `ExampleLaraWorker.php` to the workers directory in the root of your project.

### Uploading Workers

[](#uploading-workers)

IronWorker is a cloud service that runs your Laravel app and waits for jobs to be queued up.

To upload all workers:

`php artisan ironworker:upload --worker_name=* --exec_worker_file_name=*`

To upload a single worker:

`php artisan ironworker:upload --worker_name=ExampleLaraWorker --exec_worker_file_name=ExampleLaraWorker.php`

### Queuing up jobs

[](#queuing-up-jobs)

From the console:

`php artisan ironworker:run --queue_name=ExampleLaraWorker`

From inside your laravel application, insert this code into your app:

`Queue::pushRaw("This is Hello World payload :)", 'ExampleLaraWorker'));`

To access the functionality of [IronMQ PHP lib](https://github.com/iron-io/iron_mq_php) use IronMq class instead of Laravel Queue

```
use Illuminate\Encryption\Encrypter;
....

$crypt = new Encrypter(Config::get('app.key'));

$ironmq = new \IronMQ(array(
    'token' => Config::get('queue.connections.iron.token', 'xxx'),
    'project_id' => Config::get('queue.connections.iron.project', 'xxx')
));
$ironmq->postMessages($queue_name, array(
        return $crypt->encrypt("This is Hello World payload_1"),
        return $crypt->encrypt("This is Hello World payload_2")
    )
);

```

#### License

[](#license)

This software is released under the BSD 2-Clause License. You can find the full text of this license under LICENSE.txt in the module's root directory.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c3c3416473b0932d9095a4f4040c5d961f59e0dece717d50431240dad601167?d=identicon)[ironio](/maintainers/ironio)

---

Top Contributors

[![d-kononov](https://avatars.githubusercontent.com/u/1768345?v=4)](https://github.com/d-kononov "d-kononov (30 commits)")[![alex-litvak](https://avatars.githubusercontent.com/u/10514478?v=4)](https://github.com/alex-litvak "alex-litvak (4 commits)")[![alnutile](https://avatars.githubusercontent.com/u/365385?v=4)](https://github.com/alnutile "alnutile (1 commits)")[![hannesvdvreken](https://avatars.githubusercontent.com/u/1410358?v=4)](https://github.com/hannesvdvreken "hannesvdvreken (1 commits)")[![natsu90](https://avatars.githubusercontent.com/u/1425214?v=4)](https://github.com/natsu90 "natsu90 (1 commits)")[![thousandsofthem](https://avatars.githubusercontent.com/u/736279?v=4)](https://github.com/thousandsofthem "thousandsofthem (1 commits)")

### Embed Badge

![Health badge](/badges/iron-io-laraworker/health.svg)

```
[![Health](https://phpackages.com/badges/iron-io-laraworker/health.svg)](https://phpackages.com/packages/iron-io-laraworker)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
