{"id":16315045,"url":"https://github.com/zingimmick/flysystem-obs","last_synced_at":"2025-03-22T21:31:28.045Z","repository":{"id":38039471,"uuid":"371311031","full_name":"zingimmick/flysystem-obs","owner":"zingimmick","description":"OBS filesystem adapter for Flysystem","archived":false,"fork":false,"pushed_at":"2024-04-11T12:32:15.000Z","size":273,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"3.x","last_synced_at":"2024-04-11T14:15:24.904Z","etag":null,"topics":["filesystem","flysystem","obs"],"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},"funding":{"custom":"https://www.paypal.com/paypalme/zingimmick"}},"created_at":"2021-05-27T09:03:09.000Z","updated_at":"2024-04-14T18:38:56.812Z","dependencies_parsed_at":"2024-01-16T03:28:25.191Z","dependency_job_id":"8f40caad-6aef-40a3-b2e5-108a17522115","html_url":"https://github.com/zingimmick/flysystem-obs","commit_stats":{"total_commits":130,"total_committers":5,"mean_commits":26.0,"dds":0.3538461538461538,"last_synced_commit":"a9bad6c667571830c6db618fcb87aa9f3995d882"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":"zingimmick/package-skeleton-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-obs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-obs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-obs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingimmick%2Fflysystem-obs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zingimmick","download_url":"https://codeload.github.com/zingimmick/flysystem-obs/tar.gz/refs/heads/3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245022479,"owners_count":20548546,"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","obs"],"created_at":"2024-10-10T21:55:54.964Z","updated_at":"2025-03-22T21:31:27.784Z","avatar_url":"https://github.com/zingimmick.png","language":"PHP","funding_links":["https://www.paypal.com/paypalme/zingimmick"],"categories":[],"sub_categories":[],"readme":"# Flysystem OBS\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/zingimmick/flysystem-obs/actions\"\u003e\u003cimg src=\"https://github.com/zingimmick/flysystem-obs/actions/workflows/tests.yml/badge.svg?branch=3.x\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/zingimmick/flysystem-obs\"\u003e\u003cimg src=\"https://codecov.io/gh/zingimmick/flysystem-obs/branch/3.x/graph/badge.svg\" alt=\"Code Coverage\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-obs\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-obs/v/stable.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-obs\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-obs/downloads\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-obs\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-obs/v/unstable.svg\" alt=\"Latest Unstable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/zing/flysystem-obs\"\u003e\u003cimg src=\"https://poser.pugx.org/zing/flysystem-obs/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| 3.x     | 3.10+     | \u003e= 8.0      | Active support :rocket: |\n| 2.x     | 2.x - 3.x | \u003e= 7.2      | Active support |\n| 1.x     | 1.x       | \u003e= 7.2      | Active support          |\n\nRequire Flysystem OBS using [Composer](https://getcomposer.org):\n\n```bash\ncomposer require zing/flysystem-obs\n```\n\n## Usage\n\n```php\n\nuse League\\Flysystem\\Filesystem;\nuse Obs\\ObsClient;\nuse Zing\\Flysystem\\Obs\\ObsAdapter;\n\n$prefix = '';\n$config = [\n    'key' =\u003e 'aW52YWxpZC1rZXk=',\n    'secret' =\u003e 'aW52YWxpZC1zZWNyZXQ=',\n    'bucket' =\u003e 'test',\n    'endpoint' =\u003e 'obs.cn-east-3.myhuaweicloud.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 ObsClient($config);\n$adapter = new ObsAdapter($client, $config['bucket'], $prefix, null, null, $config['options']);\n$flysystem = new Filesystem($adapter);\n```\n\n## Integration\n\n- Laravel: [zing/laravel-flysystem-obs](https://github.com/zingimmick/laravel-flysystem-obs)\n\n## Reference\n\n[league/flysystem-aws-s3-v3](https://github.com/thephpleague/flysystem-aws-s3-v3)\n\n## License\n\nFlysystem OBS 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-obs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzingimmick%2Fflysystem-obs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzingimmick%2Fflysystem-obs/lists"}