PHPackages                             executable/laravel-livewire-beacon - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. executable/laravel-livewire-beacon

ActiveLibrary[HTTP &amp; Networking](/categories/http)

executable/laravel-livewire-beacon
==================================

Beacon enables websocket communication for Livewire.

0.2.0(1y ago)341732[8 PRs](https://github.com/drjamesj/laravel-livewire-beacon/pulls)MITPHPPHP ^8.2CI passing

Since Jul 6Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/drjamesj/laravel-livewire-beacon)[ Packagist](https://packagist.org/packages/executable/laravel-livewire-beacon)[ Docs](https://github.com/drjamesj/laravel-livewire-beacon)[ GitHub Sponsors](https://github.com/ExecutableAU)[ RSS](/packages/executable-laravel-livewire-beacon/feed)WikiDiscussions main Synced 1mo ago

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

Livewire Beacon
===============

[](#livewire-beacon)

> **Warning**This project is currently experimental and should only be used in production at your own risk.

[![Latest Version on Packagist](https://camo.githubusercontent.com/15154059fcf535345ba9664ca7086e0aa12e6174bc5b89f1bef94a733dc39907/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65786563757461626c652f6c61726176656c2d6c697665776972652d626561636f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/executable/laravel-livewire-beacon)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a528cf17018f966b90681ed0fd65f6ac89ed8be3257df883c0c7a7e51139a7ed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64726a616d65736a2f6c61726176656c2d6c697665776972652d626561636f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/drjamesj/laravel-livewire-beacon/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/42cc4d883de31d074a04617811db39abb3ac6260feef3645dbafbcd03685e232/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64726a616d65736a2f6c61726176656c2d6c697665776972652d626561636f6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/drjamesj/laravel-livewire-beacon/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/fe3b7fb5d1e30f8065818ea334dca9afa30af8a29f5f89961f183c353498ac9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65786563757461626c652f6c61726176656c2d6c697665776972652d626561636f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/executable/laravel-livewire-beacon)

Livewire Beacon enables websocket communication for Livewire dramatically improving user experience and enabling more features.

### Without Livewire Beacon

[](#without-livewire-beacon)

Slow or spotty connections have a degraded user-experience while Livewire waits for a full server round-trip for every UI interaction.

[![Livewire - Throttled Slow 3G](https://github.com/drjamesj/laravel-livewire-beacon/raw/main/livewire-throttled-slow-3g.gif?raw=true)](https://github.com/drjamesj/laravel-livewire-beacon/blob/main/livewire-throttled-slow-3g.gif?raw=true)

### With Livewire Beacon

[](#with-livewire-beacon)

Even when throttled, the persistent connection over websockets makes for much faster response times, creating a better user experience.

[![Livewire Beacon - Throttled Slow 3G](https://github.com/drjamesj/laravel-livewire-beacon/raw/main/livewire-beacon-throttled-slow-3g.gif?raw=true)](https://github.com/drjamesj/laravel-livewire-beacon/blob/main/livewire-beacon-throttled-slow-3g.gif?raw=true)

Requirements
------------

[](#requirements)

This package provides a thin layer that sits on top of [Laravel Livewire](https://livewire.laravel.com/) and [Laravel Reverb](https://reverb.laravel.com/) as the core requirements.

- Laravel Livewire installed ([docs](https://livewire.laravel.com/docs/installation))
- Laravel Reverb installed ([docs](https://laravel.com/docs/11.x/reverb))
- Laravel Echo installed and served on frontend ([docs](https://laravel.com/docs/11.x/broadcasting#client-side-installation))

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

[](#installation)

You can install the package via composer:

```
composer require executable/laravel-livewire-beacon
```

Next, edit your app's layout to include the Beacon javascript assets. This is best done by adding the Blade directive `@livewireBeaconScripts` just before the closing `body` tag.

```

    @livewireBeaconScripts

```

Configuration
-------------

[](#configuration)

Livewire Beacon is designed to work seamlessly without further configuration.

If you'd like to modify some internal behaviour of this package, you can publish the config file with:

```
php artisan vendor:publish --tag="laravel-livewire-beacon-config"
```

Usage
-----

[](#usage)

That's it! Continue using Livewire as you would normally, and enjoy significant performance improvements.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [James Joffe](https://github.com/drjamesj)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance64

Regular maintenance activity

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~0 days

Total

2

Last Release

672d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3588233751bd62a293137672ac9d9e4a75a7e0cfbec54723c4825dacda021702?d=identicon)[executable](/maintainers/executable)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![drjamesj](https://avatars.githubusercontent.com/u/37321814?v=4)](https://github.com/drjamesj "drjamesj (2 commits)")

---

Tags

laravelexecutablelaravel-livewire-beacon

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/executable-laravel-livewire-beacon/health.svg)

```
[![Health](https://phpackages.com/badges/executable-laravel-livewire-beacon/health.svg)](https://phpackages.com/packages/executable-laravel-livewire-beacon)
```

###  Alternatives

[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4861.2M8](/packages/leandrocfe-filament-apex-charts)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[spatie/livewire-filepond

Upload files using Filepond in Livewire components

306452.7k3](/packages/spatie-livewire-filepond)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)

PHPackages © 2026

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