hgs / openapi
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/hgs/openapi
Requires
- php: ^7.2
- guzzlehttp/guzzle: ^6.2
- illuminate/database: ~5.6.34|~5.7.0|~5.8.0|^6.0|^7.0
- illuminate/support: ~5.6.34|~5.7.0|~5.8.0|^6.0|^7.0
Requires (Dev)
- phpunit/phpunit: ^7.0|^8.0|^9.0
This package is auto-updated.
Last update: 2025-12-07 20:44:36 UTC
README
安装vendor publish
composer require laravelista/lumen-vendor-publish:7.x app\Console\Kernel.php 中加入 VendorPublishCommand::class
安装hgs/openapi
composer require hgs/openapi dev-master bootstrap/app.php中注册提供者$app->register(Hgs\Openapi\OpenapiServiceProvider::class); php artisan vendor:publish php artisan migrate
使用
$orderApiGateway = BusinessApiGatewayFactory::getTiktokBusinessApiGateway(Order::class, env("TIKTOK_STORE_APP_KEY"), env("TIKTOK_STORE_APP_SECRET"), 1); $data = $orderApiGateway->orderList();