Download the PHP package knr/knr-laravel-realtime without Composer
On this page you can find all versions of the php package knr/knr-laravel-realtime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download knr/knr-laravel-realtime
More information about knr/knr-laravel-realtime
Files in knr/knr-laravel-realtime
Download knr/knr-laravel-realtime
More information about knr/knr-laravel-realtime
Files in knr/knr-laravel-realtime
Vendor knr
Package knr-laravel-realtime
Short Description Reusable Laravel realtime broadcasting helpers for admin dashboards (Reverb + Echo).
License MIT
Homepage https://github.com/laradevsumon/knr_laravel_realtime
Package knr-laravel-realtime
Short Description Reusable Laravel realtime broadcasting helpers for admin dashboards (Reverb + Echo).
License MIT
Homepage https://github.com/laradevsumon/knr_laravel_realtime
Please rate this library. Is it a good library?
Informations about the package knr-laravel-realtime
pkc/laravel-realtime
Reusable Laravel realtime broadcasting helpers for admin dashboards using Laravel Reverb and Laravel Echo.
Features
Realtime::toAdmins($event, $payload)helper- Base
AdminBroadcastevent (ShouldBroadcastNowon privateadminschannel) - Configurable admin channel authorization (role attribute)
- Shared Echo bootstrap JS for Reverb
Requirements
- PHP 8.2+
- Laravel 11 or 12
- Host app:
laravel/reverb,laravel-echo,pusher-js
Install (Packagist)
Install (path repository / local development)
Host setup
- Install Reverb:
composer require laravel/reverb && php artisan reverb:install - Set
BROADCAST_CONNECTION=reverbandREVERB_*/VITE_REVERB_*in.env - Ensure broadcasting auth routes are enabled
- Import Echo helper in
resources/js/bootstrap.js:
Host app must npm install laravel-echo pusher-js.
- Run
php artisan reverb:startalongside your app server
Usage
Or extend Knr\Realtime\Events\AdminBroadcast in your app.
Client:
Config
See config/realtime.php for channel name and admin role attribute.
License
MIT
All versions of knr-laravel-realtime with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/support Version ^11.0|^12.0
illuminate/broadcasting Version ^11.0|^12.0
illuminate/contracts Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
illuminate/broadcasting Version ^11.0|^12.0
illuminate/contracts Version ^11.0|^12.0
The package knr/knr-laravel-realtime contains the following files
Loading the files please wait ...