{"id":16315023,"url":"https://github.com/zingimmick/flysystem-tos","last_synced_at":"2025-10-25T17:30:20.247Z","repository":{"id":230226722,"uuid":"775322618","full_name":"zingimmick/flysystem-tos","owner":"zingimmick","description":"TOS filesystem adapter for Flysystem","archived":false,"fork":false,"pushed_at":"2024-10-10T02:14:25.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"2.x","last_synced_at":"2024-10-30T01:51:25.672Z","etag":null,"topics":["filesystem","flysystem","tos"],"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/zingimmick.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://www.paypal.com/paypalme/zingimmick"}},"created_at":"2024-03-21T07:05:03.000Z","updated_at":"2024-10-10T02:14:28.000Z","dependencies_parsed_at":"2024-11-15T05:15:12.759Z","dependency_job_id":null,"html_url":"https://github.com/zingimmick/flysystem-tos","commit_stats":null,"previous_names":["zingimmick/flysystem-tos"],"tags_count":2,"template":false,"template_full_name":"zingimmick/package-skeleton-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-tos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-tos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-tos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-tos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zingimmick","download_url":"https://codeload.github.com/zingimmick/flysystem-tos/tar.gz/refs/heads/2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238183499,"owners_count":19430128,"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":["filesystem","flysystem","tos"],"created_at":"2024-10-10T21:55:53.392Z","updated_at":"2025-10-25T17:30:19.937Z","avatar_url":"https://github.com/zingimmick.png","language":"PHP","funding_links":["https://www.paypal.com/paypalme/zingimmick"],"categories":[],"sub_categories":[],"readme":"# Flysystem TOS\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/zingimmick/flysystem-tos/actions/workflows/tests.yml\"\u003e\u003cimg src=\"https://github.com/zingimmick/flysystem-tos/actions/workflows/tests.yml/badge.svg?branch=2.x\" alt=\"tests\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/zingimmick/flysystem-tos\"\u003e\u003cimg src=\"https://codecov.io/gh/zingimmick/flysystem-tos/branch/2.x/graph/badge.svg\" alt=\"Code Coverage\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-tos\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-tos/v/stable.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-tos\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-tos/downloads\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-tos\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-tos/v/unstable.svg\" alt=\"Latest Unstable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-tos\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-tos/license\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e **Requires**\n\u003e - **[PHP 8.0+](https://php.net/releases/)**\n\u003e - **[Flysystem 3.10+](https://github.com/thephpleague/flysystem/releases)**\n\n## Version Information\n\n| Version | Flysystem | PHP Version | Status                  |\n|:--------|:----------|:------------|:------------------------|\n| 2.x     | 3.10+     | \u003e= 8.0      | Active support :rocket: |\n| 1.x     | 1.x       | \u003e= 7.2      | Active support          |\n\nRequire Flysystem TOS using [Composer](https://getcomposer.org):\n\n```bash\ncomposer require zing/flysystem-tos\n```\n\n## Usage\n\n```php\nuse League\\Flysystem\\Filesystem;\nuse Tos\\TosClient;\nuse Zing\\Flysystem\\Tos\\TosAdapter;\n\n$prefix = '';\n$config = [\n    'ak' =\u003e 'aW52YWxpZC1rZXk=',\n    'sk' =\u003e 'aW52YWxpZC1zZWNyZXQ=',\n    'region' =\u003e 'cn-shanghai',\n    'bucket' =\u003e 'test',\n    'endpoint' =\u003e 'tos-cn-shanghai.volces.com',\n];\n\n$config['options'] = [\n    'url' =\u003e '',\n    'endpoint' =\u003e $config['endpoint'], \n    'bucket_endpoint' =\u003e '',\n    'temporary_url' =\u003e '',\n];\n\n$client = new TosClient($config);\n$adapter = new TosAdapter($client, $config['bucket'], $prefix, null, null, $config['options']);\n$flysystem = new Filesystem($adapter);\n```\n\n## Integration\n\n- Laravel: [zing/laravel-flysystem-tos](https://github.com/zingimmick/laravel-flysystem-tos)\n\n## Reference\n\n[league/flysystem-aws-s3-v3](https://github.com/thephpleague/flysystem-aws-s3-v3)\n\n## License\n\nFlysystem TOS is an open-sourced software licensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzingimmick%2Fflysystem-tos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzingimmick%2Fflysystem-tos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzingimmick%2Fflysystem-tos/lists"}