Skip to content

byrnes2014/flysystem-oss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flysystem-oss

.

Installing

$ composer require byrnes2014/flysystem-oss -vvv

Usage

    use Byrnes2014\Flysystem\Oss\QssAdapter;

Api

 $flysystem->write('file.md', 'contents');

 $flysystem->write('file.md', 'http://httpbin.org/robots.txt', ['mime' => 'application/redirect302']);
 
 $flysystem->writeStream('file.md', fopen('path/to/your/local/file.jpg', 'r'));

 $flysystem->update('file.md', 'new contents');

 $flysystem->updateStream('file.md', fopen('path/to/your/local/file.jpg', 'r'));

 $flysystem->rename('foo.md', 'bar.md');

 $flysystem->copy('foo.md', 'foo2.md');

 $flysystem->delete('file.md');

 $flysystem->has('file.md');

string|false $flysystem->read('file.md');

array $flysystem->listContents();

array $flysystem->getMetadata('file.md');

int $flysystem->getSize('file.md');

string $flysystem->getAdapter()->getUrl('file.md'); 

string $flysystem->getMimetype('file.md');

int $flysystem->getTimestamp('file.md');

License

MIT

About

Flysystem adapter for the Oss storage.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages