{"id":14974581,"url":"https://github.com/ofcold/flysystem-ali_oss","last_synced_at":"2025-10-26T23:40:02.623Z","repository":{"id":57030319,"uuid":"130637050","full_name":"ofcold/flysystem-ali_oss","owner":"ofcold","description":"Flysystem for Aliyun OSS","archived":false,"fork":false,"pushed_at":"2018-04-23T06:31:04.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T01:37:55.237Z","etag":null,"topics":["aliyun-oss","flysystem","laravel55","php71","pyrocms3","storage"],"latest_commit_sha":null,"homepage":null,"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/ofcold.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":"2018-04-23T03:50:07.000Z","updated_at":"2018-08-31T09:20:35.000Z","dependencies_parsed_at":"2022-08-23T18:50:35.167Z","dependency_job_id":null,"html_url":"https://github.com/ofcold/flysystem-ali_oss","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fflysystem-ali_oss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fflysystem-ali_oss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fflysystem-ali_oss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fflysystem-ali_oss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofcold","download_url":"https://codeload.github.com/ofcold/flysystem-ali_oss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240970218,"owners_count":19886526,"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":["aliyun-oss","flysystem","laravel55","php71","pyrocms3","storage"],"created_at":"2024-09-24T13:50:46.238Z","updated_at":"2025-10-26T23:39:57.602Z","avatar_url":"https://github.com/ofcold.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flysystem-ali_oss\nAliYun OSS Storage adapter for flysystem.\n\n## Installation\n```bash\n\tcomposer require ofcold/flysystem-ali_oss\n```\n\n## Usage\n\n- Laravel Or pyrocms\n```php\n\n\tuse League\\Flysystem\\Filesystem;\n\tuse League\\Flysystem\\MountManager;\n\tuse Illuminate\\Filesystem\\FilesystemManager;\n\n\t$driver = new Filesystem(new OssAdapter(\n\t\tnew OssClient(\n\t\t\t'key',\n\t\t\t'secret',\n\t\t\t'endpoint'\n\t\t),\n\t\t'bucket',\n\t\t'endpoint',\n\t\t'Your prefix'\n\t));\n\n\tapp(MountManager::class)-\u003emountFilesystem($prefix, $driver);\n\n\tapp(FilesystemManager::class)-\u003eextend(\n\t\t$this-\u003edisk-\u003egetSlug(),\n\t\tfunction () use ($driver) {\n\t\t\treturn $driver;\n\t\t}\n\t);\n```\n\n\n## Reference\n- [http://flysystem.thephpleague.com/api/](http://flysystem.thephpleague.com/api/)\n- [https://github.com/thephpleague/flysystem](https://github.com/thephpleague/flysystem)\n- [https://help.aliyun.com/document_detail/32099.html](https://help.aliyun.com/document_detail/32099.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofcold%2Fflysystem-ali_oss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofcold%2Fflysystem-ali_oss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofcold%2Fflysystem-ali_oss/lists"}