PHPackages                             hpolthof/laravel-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. hpolthof/laravel-backblaze

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

hpolthof/laravel-backblaze
==========================

Backblaze B2 Cloud Storage for Laravel 5

v0.1.3(9y ago)1220.3k8[1 issues](https://github.com/hpolthof/laravel-backblaze/issues)[2 PRs](https://github.com/hpolthof/laravel-backblaze/pulls)MITPHPPHP &gt;=5.5.0

Since Dec 1Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Backblaze B2 Cloud Storage for Laravel 5
========================================

[](#backblaze-b2-cloud-storage-for-laravel-5)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bd372bf9029358474a2386ed7e2150cbf9a9ab5e586a9b6056de2f4f5e426b0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68706f6c74686f662f6c61726176656c2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hpolthof/laravel-backblaze)[![Total Downloads](https://camo.githubusercontent.com/1507a54979d6699981df5b0697233775cd0116f498868b0d38138dda448898fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68706f6c74686f662f6c61726176656c2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hpolthof/laravel-backblaze)

Backblaze B2 is a great cloud storage system that compares to Amazon S3, but uses lower pricing, so worth the try. ;-) Since I couldn't find a serviceprovider to implement B2 into the Laravel Filesystem, I wrote one myself. Feel free to use it.

Installation
------------

[](#installation)

Via Composer

```
composer require hpolthof/laravel-backblaze

```

### Auto-discovery

[](#auto-discovery)

By default auto-discovery is disabled. If you want the add this package manually or if you are using Laravel &lt; 5.5, then you should add the ServiceProvider manually.

In your app.php config file add to the list of service providers:

```
\Hpolthof\Backblaze\BackblazeServiceProvider::class,

```

Add the following to your filesystems.php config file in the `disks` section:

```
'b2' => [
    'driver'         => 'b2',
    'accountId'      => env('B2_ACCOUNT_ID'),
    'applicationKey' => env('B2_APP_KEY'),
    'bucketName'     => env('B2_BUCKET'),
],

```

Now just add your credentials and bucketname into your `.env` file and you're ready to go!

```
B2_ACCOUNT_ID=
B2_APP_KEY=
B2_BUCKET=

```

Usage
-----

[](#usage)

Just use it as you normally would use the Storage facade.

```
\Storage::disk('b2')->put('test.txt', 'test')

```

and

```
\Storage::disk('b2')->get('test.txt')

```

Credits
-------

[](#credits)

- [Paul Olthof](https://github.com/hpolthof)
- [Ramesh Mhetre](https://github.com/mhetreramesh/flysystem-backblaze)
- [Chris White](https://github.com/cwhite92/b2-sdk-php)

License
-------

[](#license)

MIT

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~116 days

Total

2

Last Release

3333d ago

### Community

Maintainers

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

---

Top Contributors

[![hpolthof](https://avatars.githubusercontent.com/u/1415623?v=4)](https://github.com/hpolthof "hpolthof (5 commits)")

---

Tags

filesystemFlysystemlaravelb2backblazedisks

### Embed Badge

![Health badge](/badges/hpolthof-laravel-backblaze/health.svg)

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

###  Alternatives

[bringyourownideas/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5. Original by Paul Olthof (@hpolthof) continued by @bringyourownideas

1237.8k](/packages/bringyourownideas-laravel-backblaze)[gliterd/laravel-backblaze-b2

Backblaze B2 Cloud Storage for Laravel 5

5341.6k](/packages/gliterd-laravel-backblaze-b2)[oneduo/nova-file-manager

A handy file manager tool for Laravel Nova

157350.3k2](/packages/oneduo-nova-file-manager)[cwhite92/b2-sdk-php

A SDK for working with B2 cloud storage.

74146.6k2](/packages/cwhite92-b2-sdk-php)[mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

62146.8k9](/packages/mhetreramesh-flysystem-backblaze)[bbs-lab/nova-file-manager

A handy file manager tool for Laravel Nova

1578.0k](/packages/bbs-lab-nova-file-manager)

PHPackages © 2026

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