Coder Social home page Coder Social logo

Comments (5)

overtrue avatar overtrue commented on June 19, 2024

我没办法仅凭“将配置文件 放在 filesystems.php 文件中 ” 想像出你是怎么配置的哈,建议脱敏贴出来

from flysystem-cos.

gyp719 avatar gyp719 commented on June 19, 2024

        'cos' => [
            'driver' => 'flysystem-cos',  
            'region'          => 'ap-nanjing',
            'credentials'     => [
                'appId'     => 1300314322, // 域名中数字部分 1300314322
                'secretId'  => '',
                'secretKey' => '',
            ],
            'bucket'          => ',
            'timeout'         => 60,
            'connect_timeout' => 60,
            'cdn'             => '您的 CDN 域名',
            'scheme'          => 'https',
            'read_from_cdn'   => false,
        ],

driver 的值

from flysystem-cos.

overtrue avatar overtrue commented on June 19, 2024

你这是自创的?文档没写清楚吗?https://github.com/overtrue/laravel-filesystem-cos
image

GitHub
Tencent Cloud COS storage for Laravel based on overtrue/flysystem-cos. - overtrue/laravel-filesystem-cos

from flysystem-cos.

gyp719 avatar gyp719 commented on June 19, 2024

之前用的 是 composer require overtrue/flysystem-cos

使用 laravel 用 laravel 的 cos包, 文档:
感谢 overtrue 的指导

from flysystem-cos.

overtrue avatar overtrue commented on June 19, 2024

overtrue/flysystem-cos 这个包是为 PHP 使用的,没有 driver 参数:https://github.com/overtrue/flysystem-cos#usage

GitHub
💾 Flysystem adapter for the Qcloud COS storage. - overtrue/flysystem-cos

from flysystem-cos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.