Download the PHP package nextsms/laravel without Composer
On this page you can find all versions of the php package nextsms/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nextsms/laravel
More information about nextsms/laravel
Files in nextsms/laravel
Package laravel
Short Description This package makes it easy to send notifications via NextSMS with Laravel
License MIT
Homepage https://github.com/nextsms/laravel
Informations about the package laravel
NextSMS notification channel for Laravel
This package makes it easy to send notifications using NextSMS with Laravel.
Contents
- About
- Laravel compatibly
- Installation
- Setting up the NextSMS service
- Usage
- Testing
- Security
- Contributing
- Credits
- License
About
The NextSMS channel makes it possible to send out Laravel notifications as SMS
using NextSMS API.
Laravel compatibly
Package is Laravel v8 compatible
Laravel Version | Package Version | Notes |
---|---|---|
v7 or v8 | dev-main | Latest version |
v6 | 6.0.x-dev | |
v5 | 5.x-dev |
Installation
You can install this package via composer:
This will install the latest version
To install previous version of the package eg: version 6.0.x-dev compatible with laravel v6 see
The service provider gets loaded automatically.
Setting up the NextSMS service
You will need to Register.
Remember to add your Sender ID that you will be using to send the messages.
You can publish the package configuration file:
Add the routeNotifcationForNextSms
method on your notifiable Model. If this is not added,
the phone_number
field will be automatically used.
Usage
To use this package, you need to create a notification class, like NewsWasPublished
from the example below, in your Laravel application. Make sure to check out Laravel's documentation for this process.
Alternative usage
This packages comes with a Facade portating the NextSmsService
this is usefull of you onyl want to send SMS without dealing the the Laravel Notification system
See full list of API avaliable
Testing
Security
If you discover any security-related issues, please email alphaolomi at gmail.com instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- Alpha Olomi
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
How do I say Thank you?
Leave a ⭐ star and follow me on Twitter .
All versions of laravel with dependencies
illuminate/notifications Version ~7.0 || ~8.0 || ~9.0
illuminate/support Version ~7.0 || ~8.0 || ~9.0
nextsms/php-client Version dev-main