-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from oat-sa/develop
Develop
- Loading branch information
Showing
5 changed files
with
1,011 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/.idea | ||
/nbproject | ||
/.project | ||
/.settings/ | ||
/.buildpath | ||
composer.lock | ||
/vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
flysystem Adapter | ||
======== | ||
|
||
Dual Storage Adapter for league/flysystem | ||
Use to keep a cached local copy of each read of remote file. | ||
|
||
It use two storage, a remote location and a local location. | ||
Local location has priority on read operation. | ||
All write operation are made on both. | ||
|
||
usage : | ||
|
||
$remote = new League\Flysystem\AwsS3V3\AwsS3Adapter(...); | ||
$local = new League\Flysystem\Adapter\Local(...); | ||
|
||
$autosave = true; | ||
|
||
$adapter = new oat\LibFlysystemFilecache\model\flysystem\DualStorageAdapter($remote, $local ,autosave); | ||
|
||
|
||
see http://flysystem.thephpleague.com/ to configure your adapters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"name" : "oat-sa/lib-flysystem-filecache", | ||
"authors" : [{ | ||
"name" : "Open Assessment Technologies S.A.", | ||
"homepage" : "http://www.taotesting.com" | ||
}, { | ||
"name" : "Jérôme Bogaerts", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Joel Bout", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Bertrand Chevrier", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Lionel Lecaque", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Patrick Plichart", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Dieter Raber", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Somsack Sipasseuth", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Christophe Garcia", | ||
"role" : "Developer" | ||
} | ||
], | ||
"description" : "flysystem cache Adapter", | ||
"support" : { | ||
"forum" : "http://forum.taotesting.com", | ||
"issues" : "http://forge.taotesting.com" | ||
}, | ||
"license" : "GPL-2.0", | ||
"keywords" : [ | ||
"flysystem", | ||
"oat", | ||
"flysystem adapter", | ||
"cache" | ||
], | ||
"type" : "library", | ||
"require" : { | ||
"php" : ">=5.5", | ||
"league/flysystem" : "^1.0.25" | ||
}, | ||
|
||
"require-dev": { | ||
"phpunit/phpunit": "~4.4@dev", | ||
"sebastian/global-state": "~1.0@dev", | ||
"mikey179/vfsStream": "1.4.0" | ||
}, | ||
"minimum-stability" : "dev", | ||
"autoload" : { | ||
"psr-4" : { | ||
"oat\\flysystem\\Adapter\\" : "src", | ||
"oat\\libFlysystemFilecache\\test\\" : "test" | ||
} | ||
} | ||
} |
Oops, something went wrong.