---
description: >-
  Nuxt module for Laravel Echo integration to get a seamless experience with
  application broadcasting.
---

# Introduction

Since [Laravel Echo](https://laravel.com/docs/11.x/broadcasting) requires additional authentication for Private channels, you may consider using this module to get this out-of-the-box.&#x20;

Nuxt Laravel Echo provides a wrapper on top of [laravel-echo](https://www.npmjs.com/package/laravel-echo) and [pusher.js](https://www.npmjs.com/package/pusher-js) packages, that takes care of creating an Echo instance and setting up an authentication handler.

### Features

* Sanctum-based authentication
* CSRF cookie management for Private and Presence channels
* CSR-only mode (plugin is not loaded in SSR)
* TypeScript support
* Predefined configuration

{% hint style="warning" %}
**Note:** Before using this module, please ensure you have configured Laravel Echo / Reverb on your backend. You can find more information about it [here](https://laravel.com/docs/11.x/broadcasting).
{% endhint %}

We recommend looking at our [breeze-nuxt](../other/breeze-nuxt-template) template that works flawlessly with [breeze-api](https://github.com/manchenkoff/breeze-api) Laravel application with preconfigured Sanctum and Echo modules.

### Support

If you like this module, please support the project to help me to maintain and improve it!

[<img src="https://cdn.buymeacoffee.com/buttons/v2/default-green.png" alt="Buy Me A Coffee" data-size="original">](https://www.buymeacoffee.com/manchenkoff)
