Nuxt - Laravel Echo
GitHubNuxt Module
  • Getting Started
    • Introduction
    • Installation
  • Usage
    • Configuration
    • Cookie Authentication
    • Token Authentication
  • Composables
    • useEcho
    • useEchoConfig
    • useEchoAppConfig
  • Other
    • Token Storage
    • Interceptors
    • Breeze Nuxt template
Powered by GitBook
On this page
  • Features
  • Support
  1. Getting Started

Introduction

Nuxt module for Laravel Echo integration to get a seamless experience with application broadcasting.

NextInstallation

Last updated 9 months ago

Since requires additional authentication for Private channels, you may consider using this module to get this out-of-the-box.

Nuxt Laravel Echo provides a wrapper on top of and 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

Note: Before using this module, please ensure you have configured Laravel Echo / Reverb on your backend. You can find more information about it .

We recommend looking at our template that works flawlessly with 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!

Laravel Echo
laravel-echo
pusher.js
here
breeze-nuxt
breeze-api