{"id":19621565,"url":"https://github.com/pkg6/think-filesystem","last_synced_at":"2025-04-28T03:32:19.267Z","repository":{"id":57080398,"uuid":"476565241","full_name":"pkg6/think-filesystem","owner":"pkg6","description":"oss cos qiniu sftp driver for think-filesystem","archived":false,"fork":false,"pushed_at":"2023-01-04T08:23:04.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-20T06:35:54.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkg6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-01T03:49:20.000Z","updated_at":"2024-09-26T09:34:59.000Z","dependencies_parsed_at":"2023-02-02T05:00:22.753Z","dependency_job_id":null,"html_url":"https://github.com/pkg6/think-filesystem","commit_stats":null,"previous_names":["tp5er/think-filesystem"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fthink-filesystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fthink-filesystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fthink-filesystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fthink-filesystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkg6","download_url":"https://codeload.github.com/pkg6/think-filesystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246280,"owners_count":21558762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:23:33.847Z","updated_at":"2025-04-28T03:32:18.982Z","avatar_url":"https://github.com/pkg6.png","language":"PHP","readme":"\n\n## 安装\n\n~~~~\ncomposer require tp5er/think-filesystem\n~~~~\n\n\n## 阿里云OSS\n\n\u003e 安装驱动 `composer require xxtime/flysystem-aliyun-oss ^1.5`\n\n~~~\n'oss' =\u003e [\n    'type'         =\u003e 'oss',\n    'credentials'=\u003e[//若为false,则使用函数计算 runtime context提供的 credentials\n        'accessId'     =\u003e '******',\n        'accessSecret' =\u003e '******',\n    ],\n    'bucket'       =\u003e 'bucket',\n    'endpoint'     =\u003e 'oss-cn-hangzhou.aliyuncs.com',\n    'url'          =\u003e 'oss.domain.com'\n],\n~~~\n\n## 腾讯COS\n\n\u003e 安装驱动 `composer require overtrue/flysystem-cos ^2.1`\n\n~~~\n'cos' =\u003e [\n    'type'            =\u003e 'cos',\n    'region'          =\u003e '***', //bucket 所属区域 英文\n    'appId'           =\u003e '***', // 域名中数字部分\n    'secretId'        =\u003e '***',\n    'secretKey'       =\u003e '***',\n    'bucket'          =\u003e '***',\n    'timeout'         =\u003e 60,\n    'connect_timeout' =\u003e 60,\n    'cdn'             =\u003e '您的 CDN 域名',\n    'scheme'          =\u003e 'https',\n    'read_from_cdn'   =\u003e false,\n    'domain'       =\u003e 'oss.domain.com',//访问域名\n],\n~~~\n\n## 七牛云\n\n\u003e 安装驱动 ` composer require overtrue/flysystem-qiniu ^1.0`\n\n~~~\n'qiniu' =\u003e [\n    'type'            =\u003e 'qiniu' ,\n    'accessKey' =\u003e '******',\n    'secretKey' =\u003e '******',\n    'bucket'    =\u003e 'bucket',\n    'domain'       =\u003e 'oss.domain.com',//不要斜杠结尾，URL地址域名\n],\n~~~\n\n## SFTP\n\n\u003e 安装驱动 ` composer require league/flysystem-sftp ^1.0`\n\n~~~\n'sftp' =\u003e [\n    'type'     =\u003e 'sftp',\n    'host'     =\u003e '127.0.0.1',\n    'port'     =\u003e 22,\n    'username' =\u003e 'root',\n    'password' =\u003e '123456',\n    'root'     =\u003e '/home/sftp',\n    'timeout'  =\u003e 10,\n],\n~~~\n\n## FTP\n\n~~~\n'ftp' =\u003e [\n  'type'     =\u003e 'ftp',\n  'host' =\u003e 'ftp.example.com',\n  'username' =\u003e 'username',\n  'password' =\u003e 'password',\n  'root' =\u003e '/path/to/root',\n],\n~~~\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkg6%2Fthink-filesystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkg6%2Fthink-filesystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkg6%2Fthink-filesystem/lists"}