Download the PHP package canerdogan/aws-laravel-notification without Composer
On this page you can find all versions of the php package canerdogan/aws-laravel-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download canerdogan/aws-laravel-notification
More information about canerdogan/aws-laravel-notification
Files in canerdogan/aws-laravel-notification
Package aws-laravel-notification
Short Description Send SMS using AWS SNS services
License MIT
Homepage https://github.com/canerdogan/aws-laravel-notification
Informations about the package aws-laravel-notification
AWS SMS Laravel notification
Send sms trough AWS SNS.
Contents
- Installation
- Setting up the AWSSMS service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
You must install the service provider:
Setting up the AWSSMS service
Add to your config/services.php
:
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone are you sending/calling to, the channel will look for the phone_number
attribute of the Notifiable model. If you want to override this behaviour,
add the routeNotificationForAws
method to your Notifiable model.
Available methods
from('')
: Accepts a phone to use as the notification sender.content('')
: Accepts a string value for the notification body.type('Transactional')
: Either Transactional or Promotional. See aws docs for SNS SMS. The pricing of these vary.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- Petter Kjelkenes
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of aws-laravel-notification with dependencies
aws/aws-sdk-php Version ^3.0
illuminate/notifications Version ^5.3
illuminate/support Version ^5.1|^5.2|^5.3