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. executable/laravel-livewire-beacon

ActiveLibrary

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

Beacon enables websocket communication for Livewire.

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

Since Jul 6Pushed 6d 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 today

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

40

↑

FairBetter than 88% of packages

Maintenance70

Regular maintenance activity

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity46

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

624d 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

[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82256.2k3](/packages/ralphjsmit-livewire-urls)

PHPackages © 2026

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