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

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

bringyourownideas/laravel-backblaze
===================================

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

2.0.0(5y ago)1237.8k↓22.2%1[1 issues](https://github.com/bringyourownideas/laravel-backblaze/issues)MITPHPPHP ^7.2|^8.0

Since Dec 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bringyourownideas/laravel-backblaze)[ Packagist](https://packagist.org/packages/bringyourownideas/laravel-backblaze)[ Docs](https://bringyourownideas.com/blog/backing-up-your-laravel-project-to-backblaze-b2/)[ Fund](https://www.buymeacoffee.com/spekulatius)[ GitHub Sponsors](https://github.com/spekulatius)[ RSS](/packages/bringyourownideas-laravel-backblaze/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

B2-Backblaze Storage Adapter for Laravel 5+
===========================================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/7014facb71863aec22d30ad5cce6048add35553ca0dac191d3c7c141d5ee9526/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6272696e67796f75726f776e69646561732f6c61726176656c2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bringyourownideas/laravel-backblaze)[![Total Downloads](https://camo.githubusercontent.com/c46a2de1c8def5342aca129365f83eb9a374c35cee2403bb7a60a2fc666a87a3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6272696e67796f75726f776e69646561732f6c61726176656c2d6261636b626c617a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bringyourownideas/laravel-backblaze)

Backblaze B2 is a cloud storage system comparable to Amazons S3. This adapter allows you to use B2 within Laravel 5+ applications. Tested are Laravel 5, 6, 7, and 8.

At [bring your own ideas Ltd.](https://github.com/bringyourownideas) it is used in combination with [spatie's Laravel backup](https://github.com/spatie/laravel-backup) to backup our Laravel projects.

The code is based on [Paul Olthof](https://github.com/hpolthof)s [unmaintained repo](https://github.com/hpolthof/laravel-backblaze) and addresses mostly bugs at this point.

Use B2 via S3 instead!
----------------------

[](#use-b2-via-s3-instead)

As B2 has an S3-compatible interface it's recommended to use this instead. See [\#6 (comment)](https://github.com/bringyourownideas/laravel-backblaze/issues/6#issuecomment-769718518) for more details. It's unlikely this package will be maintained further and migrating is recommended.

Step by Step Guide
------------------

[](#step-by-step-guide)

On our company website we have released a detailed step by step guide to [back up your Laravel projects to Backblaze](https://bringyourownideas.com/blog/backing-up-your-laravel-project-to-backblaze-b2/). Feel free to reach out if you find any mistakes or have trouble implementing the steps.

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

[](#installation)

Via Composer

```
composer require bringyourownideas/laravel-backblaze

```

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

```
\bringyourownideas\Backblaze\BackblazeServiceProvider::class,

```

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

```
'b2' => [
    'driver'         => 'b2',
    'accountId'      => '',
    'applicationKey' => '',
    'bucketName'     => '',
],

```

Now just paste in your credentials and bucketname and you're ready to go!

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, as the original repository.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~184 days

Total

5

Last Release

1954d ago

Major Versions

1.0.3 → 2.0.02021-01-05

PHP version history (4 changes)1.0.0PHP &gt;=5.5.0

1.0.1PHP &gt;7.0

1.0.3PHP ^7.2

2.0.0PHP ^7.2|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8433587?v=4)[Peter Thaleikis](/maintainers/spekulatius)[@spekulatius](https://github.com/spekulatius)

---

Top Contributors

[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (14 commits)")

---

Tags

b2-backblaze-adapterbackblazebackblaze-adapterbackblaze-b2backuplaravellaravel-5-packagefilesystemFlysystemlaravelbackupb2backblazedisks

### Embed Badge

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

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

###  Alternatives

[hpolthof/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5

1220.3k](/packages/hpolthof-laravel-backblaze)[gliterd/laravel-backblaze-b2

Backblaze B2 Cloud Storage for Laravel 5

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

PHP SDK for working with backblaze B2 cloud storage.

84263.3k8](/packages/gliterd-backblaze-b2)[cwhite92/b2-sdk-php

A SDK for working with B2 cloud storage.

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

An SDK for working with B2 cloud storage.

2732.9k](/packages/obregonco-backblaze-b2)

PHPackages © 2026

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