Download the PHP package shaab/sms without Composer
On this page you can find all versions of the php package shaab/sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sms
Short Description A package for make SMS sending using various gateway under a single package. It will reduce the complisity of the code.
License MIT
Informations about the package sms
SMS Gateway Handler
This Laravel Package will helpto send SMS through various SMS Gateways simpler than ever.
Supported Gateways
Installation
-
Include the package in your project
-
Add the service provider to your
config/app.php
providers array:If you're installing on Laravel 5.5+ skip this step
-
Add providers
- Add Aliase
-
-
Publish the Vendor Config files by running:
- Config the SMS Gateway in
Config/sms.php
.
- Config the SMS Gateway in
Usage
-
Add Facade to the controller:
-
Call Send function
-
Minimal
Syntax: SMS::send($to,$message);
to
: Single mobile number or an array of numbersNote: Its basic function in the package.
-
Advanced
using Trait
--In development--
-
-
Check SMS Balance
-
MSG91
Syntax: SMS::msg91_balance(
Route
);Output: Return sms balance in given route.
-
TextLocal
Output: Return sms balance in given route.
-