定制 rahulreghunath/textlocal 二次开发

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

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

rahulreghunath/textlocal

最新稳定版本:v1.0.2

Composer 安装命令:

composer require rahulreghunath/textlocal

包简介

Textlocal sms gateway wrapper for Laravel

README 文档

README

A simple PHP API extension for Textlocal(textlocal.in) sms gateway integration in Laravel

Require this package in your composer.json and update composer. This will download the package.

composer require rahulreghunath/textlocal

Installation

Laravel

After updating composer, add the ServiceProvider to the providers array in config/app.php

Rahulreghunath\Textlocal\ServiceProvider::class,

packege auto discovery available for laravel version 5.5 or later

After adding ServiceProvider, Run the command

    php artisan vendor:publish

After that set your textlocal authentication key inside textlocal.php file inside config folder and you are good to go

$sms = new Textlocal();
$sms->send('message', 'mobile number','sender'); //sender is optional

Documentation

You can check https://api.textlocal.in/docs/phpclass for more available methods and complete Documentation can be found here

Using it in your projects

Buy Me A Coffee

统计信息

  • 总下载量: 21.3k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-25