PHPackages                             slacker775/flysystem-backblaze - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. slacker775/flysystem-backblaze

ActiveLibrary[File &amp; Storage](/categories/file-storage)

slacker775/flysystem-backblaze
==============================

Backblaze adapter for the flysystem filesystem abstraction library

1.7.2(4y ago)028MITPHPPHP ^8.0

Since Aug 26Pushed 4y agoCompare

[ Source](https://github.com/slacker775/flysystem-backblaze)[ Packagist](https://packagist.org/packages/slacker775/flysystem-backblaze)[ Docs](https://github.com/slacker775/flysystem-backblaze)[ RSS](/packages/slacker775-flysystem-backblaze/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (25)Used By (0)

flysystem-backblaze
===================

[](#flysystem-backblaze)

[![Author](https://camo.githubusercontent.com/9b27da4a3dc99169f09d93908a282ab361609e9f516e472b6441958dceea8b7f/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406d686574726572616d6573682d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/mhetreramesh)[![Latest Version on Packagist](https://camo.githubusercontent.com/4266f102c0bb27bcbb13f7476bb60af20d740a10b7a43ce9c325220e12b25a08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d686574726572616d6573682f666c7973797374656d2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhetreramesh/flysystem-backblaze)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/4db430f0828ce9f5c5c54503396fb15bf3ef29fadf2034f7c51eb946f7b17750/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f676c69746572642f666c7973797374656d2d6261636b626c617a652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gliterd/flysystem-backblaze)[![Coverage Status](https://camo.githubusercontent.com/4af7ef0c2858090691f1668b166a87754f6ab68865f0866180c0f7c9fb21cdad/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f676c69746572642f666c7973797374656d2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gliterd/flysystem-backblaze/code-structure)[![Quality Score](https://camo.githubusercontent.com/785bead5ea224b012157d415313f4f261889596244596f87f133d0ce47aca595/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f676c69746572642f666c7973797374656d2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gliterd/flysystem-backblaze)[![Total Downloads](https://camo.githubusercontent.com/6f01c1854a8e6b22bd72d1afab3cae605cb53fca49dc1d1d2a85ee997a9a3637/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d686574726572616d6573682f666c7973797374656d2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhetreramesh/flysystem-backblaze)

Visit ([https://secure.backblaze.com/b2\_buckets.htm](https://secure.backblaze.com/b2_buckets.htm)) and get your account id, application key.

The 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.

Install
-------

[](#install)

Via Composer

```
$ composer require mhetreramesh/flysystem-backblaze
```

Usage
-----

[](#usage)

```
use Mhetreramesh\Flysystem\BackblazeAdapter;
use League\Flysystem\Filesystem;
use BackblazeB2\Client;

$client = new Client($accountId, $applicationKey);
$adapter = new BackblazeAdapter($client,$bucketName);

$filesystem = new Filesystem($adapter);
```

Using ApplicationKey instead of MasterKey
-----------------------------------------

[](#using-applicationkey-instead-of-masterkey)

If you specify only the $bucketName when creating the BackblazeAdapter, your application key must be the master key. However, if you specify both bucket name and bucket id, you do not need the master key and can use a single-bucket key. Fetch your bucket id using the [b2 command line tool](https://www.backblaze.com/b2/docs/quick_command_line.html) `b2 get-bucket `

```
$client = new Client($accountId, $applicationKey);
$adapter = new BackblazeAdapter($client, $bucketName, $bucketId);
```

Documentation
-------------

[](#documentation)

Here is the [complete guide](https://flysystem.thephpleague.com/docs/usage/filesystem-api/) of all available options.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ramesh Mhetre](https://github.com/mhetreramesh)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 65.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~87 days

Recently: every ~75 days

Total

23

Last Release

1628d ago

PHP version history (6 changes)1.0.0PHP &gt;=5.4.0

1.0.4PHP &gt;=5.5.0

1.1.4PHP &gt;=5.6.0

1.5.0PHP ^7.1.8

1.6.1PHP ^7.2

1.7.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21985741?v=4)[slacker775](/maintainers/slacker775)[@slacker775](https://github.com/slacker775)

---

Top Contributors

[![mhetreramesh](https://avatars.githubusercontent.com/u/3095445?v=4)](https://github.com/mhetreramesh "mhetreramesh (42 commits)")[![slacker775](https://avatars.githubusercontent.com/u/21985741?v=4)](https://github.com/slacker775 "slacker775 (9 commits)")[![mlambley](https://avatars.githubusercontent.com/u/17264636?v=4)](https://github.com/mlambley "mlambley (6 commits)")[![isaackwan](https://avatars.githubusercontent.com/u/1005813?v=4)](https://github.com/isaackwan "isaackwan (2 commits)")[![epic-kaso](https://avatars.githubusercontent.com/u/5386122?v=4)](https://github.com/epic-kaso "epic-kaso (1 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (1 commits)")[![kenrowland](https://avatars.githubusercontent.com/u/15469754?v=4)](https://github.com/kenrowland "kenrowland (1 commits)")[![mjrider](https://avatars.githubusercontent.com/u/213105?v=4)](https://github.com/mjrider "mjrider (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

apiclientfilesystemFlysystembackblaze

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/slacker775-flysystem-backblaze/health.svg)

```
[![Health](https://phpackages.com/badges/slacker775-flysystem-backblaze/health.svg)](https://phpackages.com/packages/slacker775-flysystem-backblaze)
```

###  Alternatives

[mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

62146.8k9](/packages/mhetreramesh-flysystem-backblaze)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[jacekbarecki/flysystem-onedrive

OneDrive adapter for the flysystem filesystem abstraction library

2429.9k](/packages/jacekbarecki-flysystem-onedrive)[gliterd/laravel-backblaze-b2

Backblaze B2 Cloud Storage for Laravel 5

5341.6k](/packages/gliterd-laravel-backblaze-b2)[jerodev/flysystem-v3-smb-adapter

SMB adapter for Flysystem v3

1289.9k1](/packages/jerodev-flysystem-v3-smb-adapter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
