yzh52521 / think-aliyun
This is a thinkphp expansion for the Aliyun
dev-main
2023-02-09 03:55 UTC
Requires
- php: ^7.4|^8.0
- ext-dom: *
- ext-json: *
- ext-libxml: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^6.0|^7.0
- topthink/framework: >=6.0
This package is auto-updated.
Last update: 2024-12-09 07:59:33 UTC
README
This is a aliyun expansion for the think
接口支持
- CDN
- 实人认证
- 云推送
- DM 邮件推送
- DNS
- DOMAIN 域名
- 内容安全
- HTTPDNS
- JAQ 移动安全
- MTS 媒体转码
- SCDN 域名操作
- SMS短信
- VOD 视频点播
- VPC 弹性Ip
环境需求
- PHP >= 7.4
安装
composer require yzh52521/think-aliyun
使用
try { $cdn = Aliyun::service('cdn'); $cdn->RefreshObjectCaches([ 'ObjectPath' => [ 'http://www.baidu.com', ], 'ObjectType' => 'File' ]); } catch (\Exception $e) { print_r($e->getMessage()); }
说明
如果你对这个接口感兴趣,可以直接提交PR来合并更新。工作日工作时间,基本能实时响应合并。