janhve / lumen-tencent-cloud
This is a Laravel expansion for the Tencent Cloud.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/janhve/lumen-tencent-cloud
Requires
- ext-dom: *
- ext-json: *
- ext-libxml: *
- ext-simplexml: *
- illuminate/bus: ^5.1 || ^6.0
- illuminate/queue: ^5.1 || ^6.0
- illuminate/support: ^5.1 || ^6.0
- tencentcloud/tencentcloud-sdk-php: ^3.0
This package is not auto-updated.
Last update: 2025-10-15 06:14:13 UTC
README
This is a tencent cloud expansion for the laravel
环境需求
- PHP >= 7.0
Installation
composer require janhve/lumen-tencent-cloud
for Laravel
This service provider must be registered.
// config/app.php 'providers' => [ '...', Janhve\TencentCloud\TencentCloudServiceProvider::class, ];
Use
try { $cdn = TencentCloud::get('cdn'); $cdn->RefreshObjectCaches([ 'ObjectPath' => [ 'http://www.baidu.com', ], 'ObjectType' => 'File' ]); } catch (\Exception $e) { print_r($e->getMessage()); }