PHPackages                             denitsa-md/laravel-progress-status-broadcast - 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. denitsa-md/laravel-progress-status-broadcast

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

denitsa-md/laravel-progress-status-broadcast
============================================

Broadcast progress status (percentage) of a long-running task.

0.1.0(5y ago)0681[1 issues](https://github.com/denitsa-md/laravel-progress-status-broadcast/issues)MITPHPPHP ^7.4CI failing

Since Jul 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/denitsa-md/laravel-progress-status-broadcast)[ Packagist](https://packagist.org/packages/denitsa-md/laravel-progress-status-broadcast)[ Docs](https://github.com/denitsa-md/laravel-progress-status-broadcast)[ RSS](/packages/denitsa-md-laravel-progress-status-broadcast/feed)WikiDiscussions master Synced today

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

Broadcast progress events
=========================

[](#broadcast-progress-events)

[![Latest Version on Packagist](https://camo.githubusercontent.com/988a61da8c7d93ecd641b6f2685978a14951c821264a7783e4d5bb4f7044b357/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656e697473612d6d642f6c61726176656c2d70726f67726573732d7374617475732d62726f6164636173742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/denitsa-md/laravel-progress-status-broadcast)[![Build Status](https://camo.githubusercontent.com/a880a31bb921d0566bb5d3e231a7b67a3c2ce84cadeb7cb485b0127ff8641ada/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f64656e697473612d6d642f6c61726176656c2d70726f67726573732d7374617475732d62726f6164636173742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/denitsa-md/laravel-progress-status-broadcast)[![Packagist Downloads](https://camo.githubusercontent.com/3b4ed5b5682ae3b1127927333dba4d03eb1c08678d6a753084c66b3dd3284903/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64656e697473612d6d642f6c61726176656c2d70726f67726573732d7374617475732d62726f6164636173743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/3b4ed5b5682ae3b1127927333dba4d03eb1c08678d6a753084c66b3dd3284903/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64656e697473612d6d642f6c61726176656c2d70726f67726573732d7374617475732d62726f6164636173743f7374796c653d666c61742d737175617265)

I needed some simple functionality to broadcast progress events (10%, 20% ... 100% complete) when a long-running action was happening in the app.

This is also my first published package on packagist :)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require denitsa-md/laravel-progress-status-broadcast
```

Usage
-----

[](#usage)

This is how I've used the package in our project, except I used it in relation to a chunked collection.

Import the facade `use DenitsaCm\ProgressStatusBroadcast\Facades\ProgressStatusBroadcast;`

```
$products = Product::all();

ProgressStatusBroadcast::broadcastOn(new PrivateChannel('some-channel'))  // Specify the channel
    ->broadcastAs('products.process')  // Specify the event name
    ->total($products->count());       // Set the total amount so progress can be calcualted

$products->each(function ($product, $key) {
    $product->doSomething();
    ProgressStatusBroadcast::progress($key + 1); // Give the current item count to the progress status. Here I give it a +1 since the $key is 0-based and I want the progress to start from 1.
});
```

This will send a `ProgressEvent` via your configured broadcast driver.

### Testing

[](#testing)

Tests coming soon...

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Denitsa Mlechkova Damm](https://github.com/denitsa-cm)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

2179d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7268d762e5a1155a3685ffc93651d3c2c888a50df077216e8ded8acd29f24cc5?d=identicon)[DenitsaDamm](/maintainers/DenitsaDamm)

---

Top Contributors

[![denitsa-md](https://avatars.githubusercontent.com/u/21036599?v=4)](https://github.com/denitsa-md "denitsa-md (10 commits)")

---

Tags

denitsa-mdlaravel-progress-status-broadcast

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/denitsa-md-laravel-progress-status-broadcast/health.svg)

```
[![Health](https://phpackages.com/badges/denitsa-md-laravel-progress-status-broadcast/health.svg)](https://phpackages.com/packages/denitsa-md-laravel-progress-status-broadcast)
```

###  Alternatives

[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[illuminate/notifications

The Illuminate Notifications package.

513.1M1.1k](/packages/illuminate-notifications)[illuminate/bus

The Illuminate Bus package.

6046.3M542](/packages/illuminate-bus)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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