Download the PHP package laravel-notification-channels/jet-sms without Composer
On this page you can find all versions of the php package laravel-notification-channels/jet-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-notification-channels/jet-sms
More information about laravel-notification-channels/jet-sms
Files in laravel-notification-channels/jet-sms
Package jet-sms
Short Description Sends SMS using JetSms API
License MIT
Homepage https://github.com/laravel-notification-channels/jet-sms
Informations about the package jet-sms
JetSms Notification Channel For Laravel 5.3+
This package makes it easy to send notifications using JetSms with Laravel 5.5+, 6.x and 7.x.
Contents
- Installation
- Setting up the JetSms service
- Usage
- Available methods
- Available events
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install this package via composer:
Setting up the JetSms service
Add your desired client, username, 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 JetSms inside your notifiables. (e.g. User)
Available methods
JetSms can also be used directly to send short messages.
Examples:
see: jet-sms-php documentation for more information.
Available events
JetSms Notification channel comes with handy events which provides the required information about the SMS messages.
- Message Was Sent (
NotificationChannels\JetSms\Events\MessageWasSent
) - Messages Were Sent (
NotificationChannels\JetSms\Events\MessageWasSent
) - Sending Message (
NotificationChannels\JetSms\Events\SendingMessage
) - Sending Messages (
NotificationChannels\JetSms\Events\SendingMessages
)
Example:
Notes
$response->groupId() will throw BadMethodCallException if the client is set to 'http'. $response->messageReportIdentifiers() will throw BadMethodCallException if the client is set to 'xml'.
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
- Hilmi Erdem KEREN
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of jet-sms with dependencies
erdemkeren/jet-sms-php Version ^1.0
illuminate/notifications Version ^6.0 || ^7.0
illuminate/queue Version ^6.0 || ^7.0
illuminate/support Version ^6.0 || ^7.0