v1.1.4 2022-03-18 05:45 UTC

This package is auto-updated.

Last update: 2025-06-18 13:15:40 UTC


README

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