Download the PHP package ol-zamovshafu/devinotelecom-laravel without Composer
On this page you can find all versions of the php package ol-zamovshafu/devinotelecom-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ol-zamovshafu/devinotelecom-laravel
More information about ol-zamovshafu/devinotelecom-laravel
Files in ol-zamovshafu/devinotelecom-laravel
Package devinotelecom-laravel
Short Description Sends SMS using Devinotelecom API
License MIT
Homepage https://github.com/ol-zamovshafu/devinotelecom-laravel
Informations about the package devinotelecom-laravel
DevinotelecomSms Notification Channel For Laravel 5.7+
This package makes it easy to send notifications using Devinotelecom with Laravel 5.7.
Contents
- Installation
- Setting up the DevinotelecomSms 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
:
Register the DevinotelecomSms alias to your application. This registration is not optional because the channel itself uses this very alias.
Setting up the DevinotelecomSms service
Add your desired client, login, password, originator (outbox name, sender name) and request timeout
configuration to your config/services.php
file:
Usage
Now you can use the channel in your via() method inside the notification:
Don't forget to place the dedicated method for DevinotelecomSms inside your notifiables. (e.g. User)
Available methods
DevinotelecomSms can also be used directly to send short messages.
Examples:
see: devinotelecom-php documentation for more information.
Available events
DevinotelecomSms Notification channel comes with handy events which provides the required information about the SMS messages.
- Message Was Sent (
NotificationChannels\Devinotelecom\Events\MessageWasSent
) - Sending Message (
NotificationChannels\Devinotelecom\Events\SendingMessage
)
Example:
Notes
$response->groupId() will throw BadMethodCallException if the client is set to 'http'.
Change client configuration with caution.
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
- Oleg Lobanov
- All Contributors
License
Copyright (c) Hilmi Erdem KEREN [email protected]
The MIT License (MIT). Please see License File for more information.
All versions of devinotelecom-laravel with dependencies
ol-zamovshafu/devinotelecom-php Version ^1.3
illuminate/notifications Version ^5.7
illuminate/queue Version ^5.7
illuminate/support Version ^5.7