Download the PHP package techinasia/laravel-stream-notification-channel without Composer
On this page you can find all versions of the php package techinasia/laravel-stream-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
All versions of laravel-stream-notification-channel with dependencies
Informations about the package laravel-stream-notification-channel
Stream Notification Channel for Laravel
Use Laravel 5.3 notifications to send activities to Stream.
- Setting up Stream
- Available Message methods
Install this package with Composer:
Register the service provider in your
Setting up Stream
This notification channel uses techinasia/laravel-stream to send notifications to Stream.
Publish all the vendor assets:
This will create a file called
stream.php in the
config folder. Create an application via Stream's admin interface and copy the API key and secret to the configuration file.
You can add more applications by adding more key/secret pairs to the configuration file:
Send notifications via Stream in your notification:
You need to specify the ID and type of the notifiable by defining a
routeNotificationForStream method on the entity:
Available Message methods
application(string $application): Sets the application to be used to send the notification.
You can set any attributes of the payload by calling the name of the attribute in camel case with the value as the parameter:
Please see CHANGELOG for more information for what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issues tracker.
Please see CONTRIBUTING for details.
- All Contributors
The MIT License (MIT). Please see License File for more information.