Download the PHP package maxgaurav/laravel-sns-broadcaster without Composer
On this page you can find all versions of the php package maxgaurav/laravel-sns-broadcaster. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maxgaurav/laravel-sns-broadcaster
More information about maxgaurav/laravel-sns-broadcaster
Files in maxgaurav/laravel-sns-broadcaster
Package laravel-sns-broadcaster
Short Description Sns Messages as queues using extended laravel sqs driver.
License MIT
Homepage https://github.com/maxgaurav/laravel-sns-broadcaster
Informations about the package laravel-sns-broadcaster
Broadcast Events as SNS Topic
The package allows you to broadcast laravel events as sns topic.
The queue also processes standard jobs pushed via laravel.
This package is a great use cases for applications beings deployed to microservices.
Requirements
- PHP >= 7.2
- Laravel >= 6
- SQS driver for laravel
- SNS in AWS
Installation
Install using composer
The package will automatically register its service provider.
Configuration
Driver setup
Update your .env use the broadcasting driver
Environment Setup
Broadcaster Configuration Setup
In config/broadcasting.php add the following driver setup
Event setup
In your events implement the ShouldBroadcast interface. Then set the topic name to be return through broadcastOn method.
License
The MIT License.
All versions of laravel-sns-broadcaster with dependencies
ext-json Version *
illuminate/broadcasting Version 6.* || 7.*
illuminate/support Version 6.* || 7.*
illuminate/contracts Version 6.* || 7.*
illuminate/config Version 6.* || 7.*
aws/aws-sdk-php Version ^3.62