Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Documentation? #5

Open
Helveg opened this issue Nov 17, 2018 · 1 comment
Open

Documentation? #5

Helveg opened this issue Nov 17, 2018 · 1 comment

Comments

@Helveg
Copy link

Helveg commented Nov 17, 2018

Any "Getting Started"s lying around on how to get a working adapter?

For the next person wondering, the 'Client' class the constructor requires is just the LaravelBox so this'll do to get started:

use LaravelBox\LaravelBox;
use FlysystemBox\BoxAdapter;
use League\Flysystem\Filesystem;

$box = new LaravelBox("YOUR-API-KEY");
$adapter = new BoxAdapter($box);
$remote = new Filesystem($adapter);
@ryanvade
Copy link
Owner

No, I don't have any documentation for this package at the moment.

Both the Flysystem adapter and the Client need to be refactored. My previous employers asked me to make this package and now they don't have any interest in it. I personally don't use Box.com so it hasn't been on the top of my list.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants