定制 dasundev/laravel-textit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dasundev/laravel-textit

Composer 安装命令:

composer require dasundev/laravel-textit

包简介

Laravel package for Textit SMS Gateway in Sri Lanka

README 文档

README

Textit Logo

License Total Downloads

Laravel Textit

Laravel Textit will help you to integrate the Textit SMS gateway very easily on your laravel application.

This package has been developed for https://textit.biz

Therefore, you must have an active textit account with sufficient balance to send SMS.

Installation

  1. You can install this package via composer:
composer require dasundev/laravel-textit
  1. You can publish the config file with:
php artisan vendor:publish --provider="Dasundev\LaravelTextit\TextitServiceProvider" --tag="config"

ENV Keys

  • Add following environment keys to your .env file. then replace with your Account ID & Password.
TEXTIT_ACCOUNT_ID=94XXXXXXXXX
TEXTIT_ACCOUNT_PASSWORD=1234
  • Optional environment keys(currently not available).
TEXTIT_CUSTOM_SENDER_ID=Textit
TEXTIT_ECO=Y
TEXTIT_REPLY_NUMBER=07XXXXXXXX
TEXTIT_REPLY_URL=https://your-domain.com/textit/replies

Usage

  • Send message to a user.
Textit::sms('07XXXXXXXX', 'Your order has been delivered!'); // using facade
textit()->sms('07XXXXXXXX', 'Your order has been delivered!'); // using helper function
  • Check your textit account balance.
$balance = Textit::balance(); // using facade
$balance = textit()->balance(); // using helper function

License

Copyright © Dasun Tharanga

Laravel Textit is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 84
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 14
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-12-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固