skydiver/laravel-flysystem-b2

Adds Backblaze B2 driver to use with Laravel filesystem

1.0 2016-11-05 04:15 UTC

This package is auto-updated.

Last update: 2024-11-17 13:17:28 UTC


README

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>'
],