thank-song/teapplix is a Laravel package for laravel package for teapplix api..
It currently has 0 GitHub stars and 14 downloads on Packagist (latest version V1.0.3).
Install it with composer require thank-song/teapplix.
Discover more Laravel packages by thank-song
or browse all Laravel packages to compare alternatives.
Last updated
Compatible with Laravel 8.x and above
We recommend installing the package locally using the following command:
composer require thank-song/teapplix
> 适配 Laravel 8.x 及以上版本
直接在环境文件(.env)中新增 TEAPPLIX_API_TOKEN=93***-*****-*****-*****-*****-*****-*9d3 变量:
或发布配置文件到主项目:
php artisan vendor:publish --tag=teapplix
在 config/teapplix.php 中配置:
return [
// 使用 .env 中的配置自动初始化
'api_token'=>env('TEAPPLIX_API_TOKEN','YOUR-API-TOKEN-HERE')
];
use ThankSong\Teapplix\Teapplix;
$res = Teapplix::getProducts();
dump($res -> getData());
dump($res -> getPage());
dump($res -> getPageSize());
dump($res -> hasMore());
MIT