2017 © Pedro Peláez
 

library laravel-sns-driver

SNS Driver for Illuminate Broadcasting Package

image

marvinosswald/laravel-sns-driver

SNS Driver for Illuminate Broadcasting Package

  • Saturday, January 7, 2017
  • by marvinosswald
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel Broadcasting SNS Driver

This package is currently in an alpha state, and does not yet work in Lumen., (*1)

Usage

In config/broadcasting.php set the default driver to 'sns' and add configuration options like this:, (*2)

'default' => 'sns,
'connections' => [
    ...
    'sns' => [
        'driver' => 'sns',
        'aws_key' => env('AWS_SNS_KEY'),
        'aws_secret' => env('AWS_SNS_SECRET'),
        'aws_region' => env('AWS_SNS_REGION')
    ],
    ...
]

In config/app.php, add the SNS Service Provider to your Providers array:, (*3)

'providers' => [
    ...
    Ringtrail\LaravelSns\SnsBroadcastServiceProvider::class,
    ...
]

Follow the event broadcasting instructions in the Laravel documentation. Your channel will be any SNS topic you've already created in the AWS console., (*4)

The Versions

07/01 2017

dev-master

9999999-dev

SNS Driver for Illuminate Broadcasting Package

  Sources   Download

The Requires

 

07/01 2017

0.0.2

0.0.2.0

SNS Driver for Illuminate Broadcasting Package

  Sources   Download

The Requires

 

07/01 2017

0.0.1

0.0.1.0

SNS Driver for Illuminate Broadcasting Package

  Sources   Download

The Requires