PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Does it break something if I install Reverb in Drift Theme?

Solved
carlos4

Nov 28th, 2024 08:01 PM

Thank you.

bobbyiliev

Nov 29th, 2024 01:02 AM

Best Answer

Hey Carlos!

As far as I am aware this should not cause any issues. Let me know if you hit any problems.

On a separate note, make sure to have your project backed up or in Git before making any major changes so that you can easily rever to a working version if anything goes wrong.

- Bobby

carlos4

Nov 29th, 2024 01:46 AM

Yeah it doesn't do nothing after the reverb installed. The issue was no echo.js imported in app.js. After I copied the content of echo.js to the app.js

Which contains only this https://prnt.sc/RagKWNZchLVO

it works fine. But then the issue was broadcasting/auth failed

The existing setup in channel.php is this

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

It's looking for App.Models.User.{id}. It simply looking for that route. By adding "Models" should do the trick.

And I notice that the filament is also using echo

So I found out that the filament and reverb could work together as long as you set it up correctly. So I followed this https://laraveldaily.com/post/configure-laravel-reverb-filament-broadcasting and it's finally working now.

Report
1
bobbyiliev

Nov 29th, 2024 02:22 AM

Hey!

This is great, happy to hear that you've got it all working!

Also thank you for sharing the extra details here with the community!