Download the PHP package shiroamada/green-api-laravel-notification without Composer
On this page you can find all versions of the php package shiroamada/green-api-laravel-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package green-api-laravel-notification
GREEN API notifications channel for Laravel 5.3+
This package makes it easy to send notifications using https://green-api.com/en/ with Laravel 5.3+.
Code Reference from laravel-notification-channels/smsc-ru
Contents
- Installation
- Setting up the Green API service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Then you must install the service provider:
Setting up the Green API service
Add your green api instanceId and token to your config/services.php
:
Usage
You can use the channel in your via()
method inside the notification:
In your notifiable model, make sure to include a routeNotificationForGreenApi() method, which return the phone number.
Available methods
content()
: Set a content of the notification message.
To send a next new line message, in PHP please use double quote "\n"
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please use the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- ShiroAmada
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of green-api-laravel-notification with dependencies
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
illuminate/queue Version 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0
illuminate/notifications Version 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0
illuminate/support Version 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0