LaraText
Developer friendly Laravel package to text using msg91 sms gateway., (*1)
Getting Started
Install the latest version of the package with composer require santhoshkorukonda/laratext, (*2)
Prerequisites
- requires
php >= 5.6.4
- requires
php ext-curl
- requires
monolog/log
Installation
Detailed installation and configuration procedure of the package., (*3)
Add santhoshkorukonda/laratext package to your composer.json file, (*4)
{
"require": {
"santoshkorukonda/laratext": "0.1",
},
}
Update composer with, (*5)
composer update, (*6)
Add LaraTextServiceProvider to config/app.php, (*7)
<?php
return [
'providers' => [
SantoshKorukonda\LaraText\LaraTextServiceProvider::class,
],
];
Add LaraTextFacade to config/app.php, (*8)
<?php
return [
'aliases' => [
SantoshKorukonda\LaraText\LaraTextFacade::class,
],
];
Publish LaraText configuration file, (*9)
php artisan vendor:publish, (*10)
Quick Start
Sending an SMS is simple and easy. Call sms($phone, $message) function from anywhere of your application to text the message., (*11)
License
This package is licensed under the MIT License - see the LICENSE.md file for details., (*12)