vertexportus / beanstalkd-broadcaster
Laravel Beanstalkd Broadcaster support
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/vertexportus/beanstalkd-broadcaster
Requires
- php: >=7.0
- illuminate/broadcasting: >=5.4
- illuminate/support: >=5.4
- pda/pheanstalk: ^3.1
This package is not auto-updated.
Last update: 2024-05-01 17:14:42 UTC
README
Laravel Beanstalkd Broadcaster.
How To's
Install
composer require vertexportus/beanstalkd-broadcaster
Provider
This package automatically loads if using Laravel >=5.5. If not, simply add Vertexportus\BeanstalkdBroadcaster\BeanstalkdBroadcasterServiceProvider::class to your app.php config.
Usage
Add the following to broadcasting.php config file, and set BROADCAST_DRIVER to beanstalkd.
'beanstalkd' => [
    'driver' => 'beanstalkd',
    'host' => env('BEANSTALK_HOST', 'localhost'),
    'port' => env('BEANSTALK_PORT', '11300'),
    'tube' => 'socketIO'
],