Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ignited/flysystem-google-drive

WORK IN PROGRESS
https://github.com/ignited/flysystem-google-drive

Last synced: 5 days ago
JSON representation

WORK IN PROGRESS

Awesome Lists containing this project

README

        

# flysystem-google-drive
### Google Drive Adaptor for Flysystem
WORK IN PROGRESS not for production

#### My Testing Scripts
$client = new \Google_Client();
$client->setClientId('xxxx');
$client->setClientSecret('xxxx');
$client->setAccessToken('{
"access_token":"xxxx",
"expires_in":3920,
"token_type":"Bearer",
"created":'.time().'
}');

$service = new \Google_Service_Drive($client);
$adapter = new \Ignited\Flysystem\GoogleDrive\GoogleDriveAdapter($service);

$filesystem = new Filesystem($adapter);