定制 apixx/think-filesystem 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

apixx/think-filesystem

最新稳定版本:1.0.3

Composer 安装命令:

composer require apixx/think-filesystem

包简介

flysystem for thinkphp6.1

README 文档

README

要求

  • php >= 8.0.2
  • topthink/framework 6.1.x
  • topthink/framework 8.x.x

使用

composer require apixx/think-filesystem

配置

config/filesystem.php

"disks" => [
    // oss 配置
    'oss' => [
        'type'   => 'oss',
        'prefix' => '',
        'access_key' => '';
        'secret_key' => '';
        'end_point'  => ''; // ssl:https://iidestiny.com
        'bucket'     => '';
        'is_cname'   => true
    ],
    // 七牛配置
    'qiniu' => [
        'type'       => 'qiniu',
        'access_key' => '',
        'secret_key' => '',
        'bucket'     => '',
        'domain'     => '',
    ],
    // 腾讯云配置
    'qcloud' => [
        'type'        => 'qcloud',
        'region'      => '',
            'credentials' => [
                'appId'      => , // 域名中数字部分
                'secretId'   => '',
                'secretKey'  => '',
            ],
            'bucket'          => 'test',
            'timeout'         => 60,
            'connect_timeout' => 60,
            'cdn'             => '您的 CDN 域名',
            'scheme'          => 'https',
            'read_from_cdn'   => false,
    ]

感谢

协议

MIT

统计信息

  • 总下载量: 78
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-15