Download the PHP package aishan/laravel-liumi without Composer
On this page you can find all versions of the php package aishan/laravel-liumi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-liumi
流米流量充值sdk for laravel
laravel-liumi for Laravel 5.*
Installation
-
Run
composer require aishan/laravel-liumi
- Add
Aishan\LaravelLiumi\LiumiServiceProvider::class,
to providers in config/app.php - Add
'Liumi' =>\Aishan\LaravelLiumi\Facades\Liumi::class,
to aliases in config/app.php - Run
php artisan vendor:publish
Usage
Just like this :
充值成功会返回订单号:
*说明 : 运营商提供的流量包套餐类型有限,我们的流量包需求可能是多种流量套餐组成,比如20M电信流量会由两个“DX10”流量包构成,生成两个订单
Config
在config/liumi.php中配置流米提供的授权信息: `
- 可以根据需要充值的流量数值去拼接流量套餐 `
All versions of laravel-liumi with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package aishan/laravel-liumi contains the following files
Loading the files please wait ....