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.

Please rate this library. Is it a good library?

All versions of laravel-stream-notification-channel with dependencies

Informations about the package laravel-stream-notification-channel

Stream Notification Channel for Laravel

Dependency Status Build Status Coverage Status StyleCI Status

Use Laravel 5.3 notifications to send activities to Stream.

Contents

Installation

Install this package with Composer:

Register the service provider in your config/app.php:

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:

Usage

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

You can set any attributes of the payload by calling the name of the attribute in camel case with the value as the parameter:

Changelog

Please see CHANGELOG for more information for what has changed recently.

Testing

Security

If you discover any security related issues, please email [email protected] instead of using the issues tracker.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


Version
Requires php Version >=5.6.4
illuminate/notifications Version ^5.3
illuminate/queue Version ^5.1|^5.2|^5.3
illuminate/support Version ^5.1|^5.2|^5.3
techinasia/laravel-stream Version ^1.0

The package techinasia/laravel-stream-notification-channel contains the following files

Loading the files please wait ....