Download the PHP package larva/laravel-aliyun without Composer
On this page you can find all versions of the php package larva/laravel-aliyun. 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-aliyun
Laravel Aliyun
This is a Aliyun expansion for the Laravel.
环境需求
- PHP >= 8.2
- Laravel >= 12.0
安装
配置
1. 发布配置文件
发布后配置文件位于 config/aliyun.php。
2. 环境变量
在 .env 文件中配置阿里云访问凭证:
3. 多账号配置
config/aliyun.php 支持配置多个阿里云账号,default 为默认账号,其余账号会与默认配置合并:
4. 认证方式
支持四种阿里云认证方式,通过 type 字段切换:
| type | 说明 | 必需参数 |
|---|---|---|
access_key |
AccessKey 认证(默认) | access_id, access_key |
ecs_ram_role |
ECS RAM 角色认证 | role_name |
ram_role_arn |
RAM Role ARN 认证 | access_id, access_key, role_arn, role_session_name |
rsa_key_pair |
RSA 密钥对认证 | public_key_id, private_key_file |
功能
短信服务(SMS)
CDN 服务
DNS 服务(Alidns)
直播服务(Live)
宽带提速服务
队列任务
所有 Job 默认实现 ShouldQueue,通过 dispatch() 方法分发到队列异步执行。可通过 Job 类的 $tries 属性控制重试次数:
| Job | 默认重试次数 |
|---|---|
PushObjectCacheJob |
默认 |
RefreshObjectCachesJob |
3 |
DeleteDomainRecord |
默认 |
DeleteSubDomainRecordsJob |
默认 |
UpdateDomainRecordJob |
2 |
SendSmsJob |
2 |
StreamsNotifySetJob |
默认 |
StreamNotifyDeleteJob |
默认 |
License
MIT
All versions of laravel-aliyun with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-simplexml Version *
ext-dom Version *
ext-json Version *
ext-libxml Version *
alibabacloud/sdk Version ^1.8
illuminate/support Version ^12.0|^13.0
illuminate/bus Version ^12.0|^13.0
illuminate/queue Version ^12.0|^13.0
ext-simplexml Version *
ext-dom Version *
ext-json Version *
ext-libxml Version *
alibabacloud/sdk Version ^1.8
illuminate/support Version ^12.0|^13.0
illuminate/bus Version ^12.0|^13.0
illuminate/queue Version ^12.0|^13.0
The package larva/laravel-aliyun contains the following files
Loading the files please wait ...

