Skip to content

codelego/neutron-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpfox-filestorage

=====================================

local path or real path.

echo  $storage->url('local', 'profile/picture/sample_01.png');
// print http://www.yoursite.com/path/to/profile/picture/sample_01.png

Or

print http://bucket-s3.amazone.com/path/to/profile/picture/sample_01.png

Move file from local

$data = $storage->move('s3', $filename,  'profile/picture/sample_01.png');

Copy from local

$data = $storage->copy('s3', $filename,  'profile/picture/sample_01.png');

Copy to local

$data = $storage->localCopy('s3', $filename,  'profile/picture/sample_01.png');

Delete object

$data = $storage->remove('s3', $filename,  'profile/picture/sample_01.png');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages