zburke / flysystem-box
Flysystem adapter for Box
Installs: 126
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 0
Forks: 5
Open Issues: 0
pkg:composer/zburke/flysystem-box
Requires
- php: >=5.4.0
- adammbalogh/box-sdk: @stable
- league/flysystem: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.8
This package is not auto-updated.
Last update: 2025-09-28 01:49:13 UTC
README
Installation
composer require zburke/flysystem-box
Usage
Assuming you have a valid bearer token from an oAuth2 authentication session:
use Zburke\Flysystem\Box\BoxAdapter; use League\Flysystem\Filesystem; $adapter = new BoxAdapter('oauth-token', [$prefix]); $filesystem = new Filesystem($adapter);
To generate a temporary developer token, visit https://app.box.com/developers/services/ and click the "Edit Application" button for the app you want to use, then click the "Create a developer token" button.
Support
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.