PHPackages                             askedio/laravel-event-worker - 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. askedio/laravel-event-worker

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

askedio/laravel-event-worker
============================

A Laravel Event Worker

0.0.1(10y ago)301MITPHPPHP &gt;=5.5.9

Since May 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Askedio/laravel-event-worker)[ Packagist](https://packagist.org/packages/askedio/laravel-event-worker)[ RSS](/packages/askedio-laravel-event-worker/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Laravel Event Worker
====================

[](#laravel-event-worker)

Trigger Laravel Events with mulitple workers, threads, delays &amp; throttles.

minimum-stability: dev
======================

[](#minimum-stability-dev)

This package uses [react-thread-pool](https://github.com/RogerWaters/react-thread-pool) that is a dev release and this package itself is very experimental.

Requirements
============

[](#requirements)

- Laravel 5.2.\*
- PHP &gt;= 5.4, only tested on 7.
- pcntl
- Linux/Unix

Installation
============

[](#installation)

Install with composer

```
composer require askedio/laravel-event-worker

```

Register the `provider` in `config/app.php`.

```
Askedio\EventWorker\Providers\LaravelEventWorkerServiceProvider::class,

```

Publish the config.

```
php artisan vendor:publish

```

Usage
=====

[](#usage)

The default config uses the `App\Events\FetchTwitterEvent` event, create it or edit `configs/event-workers.php` to use your events.

Create the event.

```
php artisan make:event FetchTwitter

```

Edit `app/Events/FetchTwitterEvent.php` and make it do something, like..

```
public function __construct($iteration)
{
    echo "Hello world.".PHP_EOL;
}

```

Certainly you'll put stuff in the listener and make a proper event, but you get the idea.

Run it.

```
php artisan events:serve

```

Configuration
=============

[](#configuration)

In `configs/event-workers.php` you define the events you want to run.

```
return [
  'twitter' => [              // name
      'delay'    => 1,        // delay between creating threads
      'throttle' => '1:1',    // throttle for creating threads
      'workers'  => 1,        // number of workers to create
      'threads'  => [
          'min'     => 1,     // minium threads per worker
          'max'     => 3,     // maximum threads per worker
          'timeout' => 30,    // thread time out
      ],
      'class' => \App\Events\FetchTwitterEvent::class, // your event class
  ],
];

```

Testing
=======

[](#testing)

Ya right. I aint got time for that.

Contributing
============

[](#contributing)

That'd be swell. Send a PR.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3693d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1173636?v=4)[William](/maintainers/gcphost)[@gcphost](https://github.com/gcphost)

---

Top Contributors

[![gcphost](https://avatars.githubusercontent.com/u/1173636?v=4)](https://github.com/gcphost "gcphost (9 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/askedio-laravel-event-worker/health.svg)

```
[![Health](https://phpackages.com/badges/askedio-laravel-event-worker/health.svg)](https://phpackages.com/packages/askedio-laravel-event-worker)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[mxl/laravel-job

Laravel job tools

661.4M](/packages/mxl-laravel-job)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[mpbarlow/laravel-queue-debouncer

A wrapper job for debouncing other queue jobs.

63792.6k1](/packages/mpbarlow-laravel-queue-debouncer)[convenia/pigeon

3334.2k](/packages/convenia-pigeon)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17818.7k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

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