Package Data | |
---|---|
Maintainer Username: | santhoshkorukonda |
Maintainer Contact: | santhoshkorukonda98@gmail.com (Santhosh Korukonda) |
Package Create Date: | 2017-01-18 |
Package Last Update: | 2017-03-21 |
Home Page: | https://github.com/santhoshkorukonda/laratext |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:09:33 |
Package Statistics | |
---|---|
Total Downloads: | 16 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 1 |
Developer friendly Laravel package to text using msg91 sms gateway.
Install the latest version of the package with composer require santhoshkorukonda/laratext
php >= 5.6.4
php ext-curl
monolog/log
Detailed installation and configuration procedure of the package.
Add santhoshkorukonda/laratext
package to your composer.json
file
{
"require": {
"santoshkorukonda/laratext": "0.1",
},
}
Update composer with
composer update
Add LaraTextServiceProvider to config/app.php
<?php
return [
'providers' => [
SantoshKorukonda\LaraText\LaraTextServiceProvider::class,
],
];
Add LaraTextFacade to config/app.php
<?php
return [
'aliases' => [
SantoshKorukonda\LaraText\LaraTextFacade::class,
],
];
Publish LaraText configuration file
php artisan vendor:publish
Sending an SMS is simple and easy. Call sms($phone, $message)
function from anywhere of your application to text the message.
This package is licensed under the MIT License - see the LICENSE.md file for details.