šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
DemoInstallSign in
Socket

laravel-reverb-nuxt

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-reverb-nuxt

The Simplified Laravel Reverb Plugin for - Nuxt JS

2.0.0
latest
Source
npm
Version published
Weekly downloads
8
700%
Maintainers
0
Weekly downloads
Ā 
Created
Source

Laravel Reverb Nuxt

šŸ”„ The Simplified Laravel Reverb Plugin for - Nuxt JS!

  • ✨ Ā Release Notes

Features

  • šŸ”„ Blazing Speed: Provides outstanding performance for real-time information with no lags.
  • Scalability: Grow with your applications to handle increased user traffic.
  • Seamless Integration: It works with broadcasting features added to Laravel and Laravel Echo to make development simple.
  • Push Updates: Push updates, messages, or events to clients to share your information instantly.
  • Built-in Security: Data encryption and authentication assurance for security communication.

Quick Setup

Install the plugin to your Nuxt application with one command:

yarn add laravel-reverb-nuxt
# or
npm i laravel-reverb-nuxt

That's it! You can now use Laravel Reverb Nuxt in your Nuxt app ✨

You can also define options as below (defaults in example):

export default defineNuxtConfig({
  // ...
  modules: [
    'laravel-reverb-nuxt'
    // ...
  ],
  reverbConfig: {
    REVERB_APP_ID: '222100',
    REVERB_APP_KEY: 'al6dfmhmr3oxqgbgpyht',
    REVERB_APP_SECRET: 'vpdu8yljg6npzejzl0vi',
    REVERB_HOST: 'localhost',
    REVERB_PORT: 8080,
    REVERB_SCHEME: 'http'
  }
})

Usage

<template>
  <div>
    Laravel Reverb Nuxt
  </div>
</template>

<script setup>
onMounted(() => {
  reverb().channel('chat').listen('Example', (event) => {
    console.log(event);
    // Start your logic here 
  });
})
</script>

Keywords

nuxt3

FAQs

Package last updated on 11 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts