skydiver / laravel-flysystem-b2 by skydiver

Adds Backblaze B2 driver to use with Laravel filesystem
4,558
8
4
Package Data
Maintainer Username: skydiver
Maintainer Contact: labs@flydev.com (Martin M.)
Package Create Date: 2016-11-05
Package Last Update: 2016-11-05
Language: PHP
License: MIT
Last Refreshed: 2024-11-21 15:00:11
Package Statistics
Total Downloads: 4,558
Monthly Downloads: 10
Daily Downloads: 0
Total Stars: 8
Total Watchers: 4
Total Forks: 1
Total Open Issues: 1

flysystem-b2

Introduction

Adds Backblaze B2 driver to use with Laravel filesystem

Installation

composer require skydiver/laravel-flysystem-b2

Configuration

After installing, register the Skydiver\LaravelFlysystemB2\B2ServiceProvider in your config/app.php configuration file:

'providers' => [
    // Other service providers...
    Skydiver\LaravelFlysystemB2\B2ServiceProvider::class,
],

You will also need to add the new driver in your config/filesystems.php configuration file:

'b2' => [
    'driver'         => 'b2',
    'bucket'         => '<my bucket name>',
    'accountId'      => '<b2 account id>',
    'applicationKey' => '<b2 application key>'
],