protonemedia / laravel-splade

💫 The magic of Inertia.js with the simplicity of Blade 💫 - Splade provides a super easy way to build Single Page Applications (SPA) using standard Laravel Blade templates, and sparkle it to make it interactive. All without ever leaving Blade.
https://splade.dev
MIT License
1.47k stars 112 forks source link

Laravel support for presence channels #543

Closed Stephan-MC closed 8 months ago

Stephan-MC commented 11 months ago
php artisan splade:show-versions

image

Make sure both Splade packages (JS + PHP) are up-to-date and on the same version. For example, when using version 0.5.0 of the PHP package, you should use the same JavaScript package version.

Description:

Presence channels not working wiht splade event component

        <x-splade-event listen="IncomingCall" channel="presence-ehealth">
            <p v-if="subscribed">You successfully joined the Incoming Call. ({{ auth()->user()->name }})</p>

            <p v-text="event"></p>
        </x-splade-event>

Steps To Reproduce Issue: