{"id":14063322,"url":"https://github.com/gliterd/flysystem-backblaze","last_synced_at":"2026-02-18T02:08:48.960Z","repository":{"id":43209283,"uuid":"66637380","full_name":"gliterd/flysystem-backblaze","owner":"gliterd","description":":cd: A backblaze adapter which can be used with flysystem(http://flysystem.thephpleague.com/)","archived":false,"fork":false,"pushed_at":"2021-07-06T12:31:48.000Z","size":55,"stargazers_count":63,"open_issues_count":6,"forks_count":47,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-29T16:23:13.498Z","etag":null,"topics":["backblaze","backblaze-adapter","filesystem","filesystem-library","php","thephpleague"],"latest_commit_sha":null,"homepage":"http://flysystem.thephpleague.com/","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/gliterd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-26T09:55:55.000Z","updated_at":"2025-06-12T11:06:57.000Z","dependencies_parsed_at":"2022-09-09T15:50:43.806Z","dependency_job_id":null,"html_url":"https://github.com/gliterd/flysystem-backblaze","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/gliterd/flysystem-backblaze","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gliterd%2Fflysystem-backblaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gliterd%2Fflysystem-backblaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gliterd%2Fflysystem-backblaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gliterd%2Fflysystem-backblaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gliterd","download_url":"https://codeload.github.com/gliterd/flysystem-backblaze/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gliterd%2Fflysystem-backblaze/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29566366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["backblaze","backblaze-adapter","filesystem","filesystem-library","php","thephpleague"],"created_at":"2024-08-13T07:03:16.307Z","updated_at":"2026-02-18T02:08:48.944Z","avatar_url":"https://github.com/gliterd.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# flysystem-backblaze\n\n[![Author](http://img.shields.io/badge/author-@mhetreramesh-blue.svg?style=flat-square)](https://twitter.com/mhetreramesh)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/mhetreramesh/flysystem-backblaze.svg?style=flat-square)](https://packagist.org/packages/mhetreramesh/flysystem-backblaze)\n[![Software License][ico-license]](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/gliterd/flysystem-backblaze/master.svg?style=flat-square)](https://travis-ci.org/gliterd/flysystem-backblaze)\n[![Coverage Status][ico-scrutinizer]][link-scrutinizer]\n[![Quality Score][ico-code-quality]][link-code-quality]\n[![Total Downloads](https://img.shields.io/packagist/dt/mhetreramesh/flysystem-backblaze.svg?style=flat-square)](https://packagist.org/packages/mhetreramesh/flysystem-backblaze)\n\nVisit (https://secure.backblaze.com/b2_buckets.htm) and get your account id, application key.\n\nThe Backblaze adapter gives the possibility to use the Flysystem filesystem abstraction library with backblaze. It uses the [Backblaze B2 SDK](https://github.com/cwhite92/b2-sdk-php) to communicate with the API.\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require mhetreramesh/flysystem-backblaze\n```\n\n## Usage\n\n``` php\nuse Mhetreramesh\\Flysystem\\BackblazeAdapter;\nuse League\\Flysystem\\Filesystem;\nuse BackblazeB2\\Client;\n\n$client = new Client($accountId, $applicationKey);\n$adapter = new BackblazeAdapter($client,$bucketName);\n\n$filesystem = new Filesystem($adapter);\n```\n## Using ApplicationKey instead of MasterKey\nIf you specify only the $bucketName when creating the BackblazeAdapter, your application key must be the master key.\nHowever, if you specify both bucket name and bucket id, you do not need the master key and can use a single-bucket key.\nFetch your bucket id using the [b2 command line tool](https://www.backblaze.com/b2/docs/quick_command_line.html) `b2 get-bucket \u003cbucketName\u003e` \n``` php\n$client = new Client($accountId, $applicationKey);\n$adapter = new BackblazeAdapter($client, $bucketName, $bucketId);\n```\n\n\n## Documentation\nHere is the [complete guide](https://flysystem.thephpleague.com/docs/usage/filesystem-api/) of all available options.\n\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email mhetreramesh@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Ramesh Mhetre][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/mhetreramesh/flysystem-backblaze.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/gliterd/flysystem-backblaze/master.svg?style=flat-square\n[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/gliterd/flysystem-backblaze.svg?style=flat-square\n[ico-code-quality]: https://img.shields.io/scrutinizer/g/gliterd/flysystem-backblaze.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/mhetreramesh/flysystem-backblaze.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/mhetreramesh/flysystem-backblaze\n[link-travis]: https://travis-ci.org/gliterd/flysystem-backblaze\n[link-scrutinizer]: https://scrutinizer-ci.com/g/gliterd/flysystem-backblaze/code-structure\n[link-code-quality]: https://scrutinizer-ci.com/g/gliterd/flysystem-backblaze\n[link-downloads]: https://packagist.org/packages/mhetreramesh/flysystem-backblaze\n[link-author]: https://github.com/mhetreramesh\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgliterd%2Fflysystem-backblaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgliterd%2Fflysystem-backblaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgliterd%2Fflysystem-backblaze/lists"}