Skip to content

santhoshkorukonda/laratext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaraText

Developer friendly Laravel package to text using msg91 sms gateway.

Getting Started

Install the latest version of the package with composer require santhoshkorukonda/laratext

Prerequisites

  1. requires php >= 5.6.4
  2. requires php ext-curl
  3. requires monolog/log

Installation

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

Quick Start

Sending an SMS is simple and easy. Call sms($phone, $message) function from anywhere of your application to text the message.

License

This package is licensed under the MIT License - see the LICENSE.md file for details.

Releases

No releases published

Packages

No packages published

Languages