PHPackages                             samicrusader/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. samicrusader/flysystem-backblaze

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

samicrusader/flysystem-backblaze
================================

Connects Backblaze B2 object storage to Flysystem

02PHP

Since Sep 11Pushed 8mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#flysystem-backblaze)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Connects Backblaze B2 object storage to Flysystem v1.0; forked from gliterd/mhetreramesh for use with XenForo because Backblaze's S3 implementation is AIDS.

This fork/rewrite uses [obregonco/backblaze-b2](https://github.com/obregonco/backblaze-b2) since it supports B2 API version 2 and also was updated in the last year.

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

XF install instructions coming soon

Usage
-----

[](#usage)

You will need:

- `$accountId` -&gt; Master Application Key `keyID`
- `$keyId` -&gt; `keyID` (if you are using the master application key **which you shouldn't be**, you can omit this)
- `$applicationKey` =&gt; `applicationKey`

You can find these on the [https://secure.backblaze.com/app\_keys.htm](https://secure.backblaze.com/app_keys.htm) page.

```
use Samicrusader\Flysystem\BackblazeClient;
use Samicrusader\Flysystem\BackblazeAdapter;
use League\Flysystem\Filesystem;

$client = new BackblazeClient(
    accountId: 'xxxxxxxxxxxx',
    authorizationValues: [
        'keyId' => 'xxxxxxxxxxxxxxxxxxxxxxxxx', /* optional if using master account key */
        'applicationKey' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    ]
);
$client->version = 2; // client defaults to v1 for some reason

$adapter = new BackblazeAdapter($client, $bucketName);
$filesystem = new Filesystem($adapter);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance43

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fbb3263538104da670e4b1dbbbd21051c7271a9eb821304529cfa625ea9a377b?d=identicon)[samicrusader](/maintainers/samicrusader)

---

Top Contributors

[![mhetreramesh](https://avatars.githubusercontent.com/u/3095445?v=4)](https://github.com/mhetreramesh "mhetreramesh (42 commits)")[![samicrusader](https://avatars.githubusercontent.com/u/89530830?v=4)](https://github.com/samicrusader "samicrusader (12 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)")

### Embed Badge

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

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15161.6M2.6k](/packages/illuminate-filesystem)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)[madnest/madzipper

Easier zip file handling for Laravel applications.

1382.3M6](/packages/madnest-madzipper)

PHPackages © 2026

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