Skip to content

Rasimoghlu/laravel-lsim-single-sms-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lsim Single Sms Package

You can easily integrate L-sim sms integration with this package

Requirements

Lang Version
PHP 8.*
Laravel 9.*

Installation

composer require sarkhanrasimoghlu/lsim

For export config file

php artisan vendor:publish --tag=sms-config

Configuration Env File

SMS_LOGIN="Your Api Login"
SMS_PASSWORD="Your Api Password"
SMS_SENDER="Your Api Sender Name"
SMS_BASE_URL="Your Api Url"
SMS_CHECK_BALANCE_URL=false

Usage

  • Send Sms
return SmsFacade::send('smsText', 'toNumber');
  • Check Balance
    • First you have to make SMS_CHECK_BALANCE_URL to TRUE in your env file.
    • After making your SMS_CHECK_BALANCE_URL true, copy this code and paste to in your route file.
SmsFacade::smsRoutes();

  • If you want to customize this view then run this command.
php artisan vendor:publish --tag=sms-views

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published