Download the PHP package gonzalezfj/smsc without Composer
On this page you can find all versions of the php package gonzalezfj/smsc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gonzalezfj/smsc
More information about gonzalezfj/smsc
Files in gonzalezfj/smsc
Package smsc
Short Description Sends SMS using SMSC API
License MIT
Homepage https://github.com/gonzalezfj/smsc
Informations about the package smsc
SMSC Notification Channel For Laravel 5.3
This package makes it easy to send notifications using SMSC with Laravel 5.3.
Contents
- Installation
- Setting up the SMSC service
- Usage
- Available methods
- Available events
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install this package via composer:
Next add the service provider to your config/app.php
:
Setting up the SMSC service
You will need to register to SMSC to use this channel.
The configuration given by the SMSC should be included within your config/services.php
file:
Usage
Follow Laravel's documentation to add the channel to your Notification class.
Don't forget to place the dedicated method for SMSC inside your notifiables. (e.g. User)
Available methods
Check out the constructor signature of SMSCMessage:
Available events
SMSC Notification channel comes with two handy events which provides the required information about the SMS messages.
- Message Was Sent (
NotificationChannels\SMSC\Events\MessageWasSent
)
This event is fired shortly after the message is sent. An example handler is presented below:
- Sending Message (
NotificationChannels\SMSC\Events
)
This event is fired just before the send request. An example handler is presented below.
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
- Facundo J Gonzalez
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of smsc with dependencies
guzzlehttp/guzzle Version ~6.0
illuminate/notifications Version ^5.3
illuminate/support Version ^5.1|^5.2|^5.3
illuminate/queue Version ^5.1|^5.2|^5.3
nesbot/carbon Version ^1.21