Download the PHP package tarre/laravel-46elks without Composer
On this page you can find all versions of the php package tarre/laravel-46elks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-46elks
About Laravel-46Elks
Laravel-46Elks is a SMS notification driver for Laravel Notifications, written to streamline the interaction between 46elks API and your Laravel application. For generic PHP usage, please check out php-46elks instead.
Installation
Install with composer
Publish config
php artisan vendor:publish --tag="laravel-46elks"
Adjust config
Add this to your .env
file
Example usage
User model
Notification
`
If you are using toMail
already, check out Piggybacking on Notifications toMail method
Available SmsMessage
methods
__construct(array $lines)
Alternative to->line('')
->line($line)
Add text message linefrom($senderId)
Overrides the .env filecc($e164Number)
Add more e164 recipientswhenDelivered($url)
Overrides the .env fileflash($state = true)
Flash SMS are shown immediately on the receivers phone and do not disappear until the receiver has confirmed the message. This feature is perfect for messages that really have to be read by the receiver.
More
- Piggybacking on Notifications toMail method
- Accessing the instance elsewhere in your application
- Validate origin on your callbacks
- Validate user input
All versions of laravel-46elks with dependencies
PHP Build Version
Package Version
Requires
tarre/php-46elks Version
^1.0
illuminate/notifications Version ~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/notifications Version ~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
The package tarre/laravel-46elks contains the following files
Loading the files please wait ....