katsana / swarm
WebSocket Communication for Laravel
v0.4.0
2020-11-01 06:55 UTC
Requires
- php: >=7.3
- ext-json: *
- cboden/ratchet: ^0.4.1
- clue/buzz-react: ^2.5
- guzzlehttp/psr7: ^1.5
- illuminate/console: ^6.0 || ^7.0 || ^8.0
- illuminate/http: ^6.0 || ^7.0 || ^8.0
- illuminate/routing: ^6.0 || ^7.0 || ^8.0
- illuminate/support: ^6.0 || ^7.0 || ^8.0
- laravie/stream: ^1.3
- league/climate: ^3.5
- symfony/psr-http-message-bridge: ^1.1
Requires (Dev)
- mockery/mockery: ^1.3.1
- orchestra/testbench: ^3.8 || ^4.0 || ^5.0 || ^6.0
- phpunit/phpunit: ^8.4
README
Installation
Swarm can be installed via composer:
composer require "katsana/swarm"
Configuration
The package will automatically register a service provider.
Next, you need to publish the Swarm configuration file:
php artisan vendor:publish --provider="Swarm\SwarmServiceProvider" --tag="config"