Download the PHP package andreasnij/laravel-sms-notification-channel without Composer
On this page you can find all versions of the php package andreasnij/laravel-sms-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andreasnij/laravel-sms-notification-channel
More information about andreasnij/laravel-sms-notification-channel
Files in andreasnij/laravel-sms-notification-channel
Package laravel-sms-notification-channel
Short Description An SMS notification channel for the PHP framework Laravel.
License MIT
Homepage http://github.com/andreasnij/laravel-sms-notification-channel
Informations about the package laravel-sms-notification-channel
Laravel SMS notification channel
An SMS notification channel for the PHP framework Laravel.
Supported SMS gateways:
Installation
Add the package as a requirement to your composer.json
:
If you want to use the 46elks, Cellsynt or Telenor SMS Pro gateway you also you need implementations of PSR-7: HTTP message interfaces, PSR-17: HTTP Factories and PSR-18: HTTP Client. A popular package for this is Guzzle. You can install it with:
You may choose to use any other implementations of the PSR interfaces though.
If you want to use the Twilio gateway you also need to install the Twilio SDK:
If you want to use the Vonage gateway you also need to install the Vonage client:
Next you need to publish the configuration file to your config directory:
Edit your sms.php
configuration file to fit your application.
Usage example
You can also use this package to send sms manually (without notifications):
Author
Andreas Nilsson (https://github.com/andreasnij)
License
This software is licensed under the MIT License - see the LICENSE file for details.
All versions of laravel-sms-notification-channel with dependencies
illuminate/support Version ^10.0 || ^11.0
illuminate/contracts Version ^10.0 || ^11.0
illuminate/notifications Version ^10.0 || ^11.0
andreasnij/an-sms Version ^1.1