PHPackages                             coreproc/nova-echo - 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. [API Development](/categories/api)
4. /
5. coreproc/nova-echo

ActiveLibrary[API Development](/categories/api)

coreproc/nova-echo
==================

Adds Laravel Echo with your broadcast configuration to your Laravel Nova app

0.3.0(3y ago)1996.9k↓30%9[2 issues](https://github.com/CoreProc/nova-echo/issues)2MITJavaScriptPHP &gt;=7.1.0

Since Feb 5Pushed 3y ago4 watchersCompare

[ Source](https://github.com/CoreProc/nova-echo)[ Packagist](https://packagist.org/packages/coreproc/nova-echo)[ RSS](/packages/coreproc-nova-echo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (6)Used By (2)

Nova Echo
=========

[](#nova-echo)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ec0a27b20d5954347c6899021e8edfc05ce35462d4fb73b0d9b1e6bac1efd301/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f726570726f632f6e6f76612d6563686f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/coreproc/nova-echo)[![Quality Score](https://camo.githubusercontent.com/f42b4d77d54555a811433081556b2fb841108714e22f5d16b8b0fb183aaa5bcf/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f636f726570726f632f6e6f76612d6563686f2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/coreproc/nova-echo)[![Total Downloads](https://camo.githubusercontent.com/b25ef0d3e109aeb9b4226be47b86c95ff51d95c1c1f673f16ad85c7ad1bf5b9b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f726570726f632f6e6f76612d6563686f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/coreproc/nova-echo)

Adds Laravel Echo with your broadcast configuration to your Laravel Nova app.

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

[](#installation)

By using Nova Echo, we have a readily configured Laravel Echo instance in our JS.

Here are suggested options for broadcasting/receiving using websockets:

- [Pusher](https://pusher.com)
- [Laravel Websockets](https://docs.beyondco.de/laravel-websockets/)
- [Laravel Echo Server](https://github.com/tlaverdure/laravel-echo-server)

You can find instructions about setting up broadcasting in Laravel using the [official documentation](https://laravel.com/docs/5.7/broadcasting).

Once you have this set up in your Nova app, you can install this package via composer

```
composer require coreproc/nova-echo
```

You will then need to override Nova's `layout.blade.php`. Create a layout file `resources/views/vendor/nova/layout.blade.php` and copy the contents from `vendor/laravel/nova/resources/views/layout.blade.php`.

Include Nova Echo's blade file in the Nova layout. This blade file contains `meta` tags with your broadcast configuration.

```
// file: resources/views/vendor/nova/layout.blade.php

DOCTYPE html>

  @include('nova-echo::meta')

  ...

```

Usage
-----

[](#usage)

Nova Echo instantiates `Echo` and makes it available throughout your Nova app. You can access your `Echo` object through

```
window.Echo
```

By default, this `Echo` instance already subscribes to the logged in user's private channel, which by default would be the namespace of your app's user object, ie. `App.User.{id}`.

You can access and attach listeners to this user's private channel through

```
window.userPrivateChannel
```

To authenticate the user through this channel, make sure you have your `BroadcastServiceProvider` available with `Broadcast::routes()` declared. You'll also need to define access through your `route/channels.php` file, ie:

```
// file: routes/channels.php

Broadcast::channel('App.User.{id}', function ($user, $id) {
    return (int)$user->id === (int)$id;
});
```

You can override the `receivesBroadcastNotificationsOn` to use a different channel name.

```
class User extends Authenticatable
{
    use Notifiable;

    ...

    /**
     * The channels the user receives notification broadcasts on.
     *
     * @return string
     */
    public function receivesBroadcastNotificationsOn()
    {
        return 'users.' . $this->id;
    }
}
```

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

[](#security)

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

Credits
-------

[](#credits)

- [Chris Bautista](https://github.com/chrisbjr)

About CoreProc
--------------

[](#about-coreproc)

CoreProc is a software development company that provides software development services to startups, digital/ad agencies, and enterprises.

Learn more about us on our [website](https://coreproc.com).

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

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

Every ~376 days

Total

5

Last Release

1153d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7066371?v=4)[CoreProc](/maintainers/coreproc)[@CoreProc](https://github.com/CoreProc)

---

Top Contributors

[![chrisbjr](https://avatars.githubusercontent.com/u/571279?v=4)](https://github.com/chrisbjr "chrisbjr (11 commits)")[![matthewnessworthy](https://avatars.githubusercontent.com/u/5653887?v=4)](https://github.com/matthewnessworthy "matthewnessworthy (1 commits)")[![Naoray](https://avatars.githubusercontent.com/u/10154100?v=4)](https://github.com/Naoray "Naoray (1 commits)")[![shalawani](https://avatars.githubusercontent.com/u/7045417?v=4)](https://github.com/shalawani "shalawani (1 commits)")

---

Tags

laravelreal-timeWebSocketsechoBroadcastingnovasocket-io

### Embed Badge

![Health badge](/badges/coreproc-nova-echo/health.svg)

```
[![Health](https://phpackages.com/badges/coreproc-nova-echo/health.svg)](https://phpackages.com/packages/coreproc-nova-echo)
```

###  Alternatives

[develpr/alexa-app

Set of classes to make creating simple Amazon Echo Alexa Apps easier with Lumen and to a lesser extent Laravel

9711.1k](/packages/develpr-alexa-app)[hammerstone/refine-nova

A Laravel Nova integration for the Refine query builder.

3356.5k](/packages/hammerstone-refine-nova)

PHPackages © 2026

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