oat-sa / lib-flysystem-filecache
flysystem cache Adapter
v1.3.2
2025-01-22 15:29 UTC
Requires
- php: >=8.1
- guzzlehttp/psr7: ^1.0
- league/flysystem: ^3.0
Requires (Dev)
- mikey179/vfsstream: 1.4.0
- phpspec/prophecy: ~1
- phpspec/prophecy-phpunit: ^2.0.0
- phpunit/phpunit: ~9|~7
- sebastian/global-state: ^5.0.5
- dev-master
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.2
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.0
- dev-develop
- dev-release/v1.3.2
- dev-fix/AUT-4012/invalidate-cache
- dev-feat/fly3-upgrade
- dev-fix/REL-1455/cache-write-stream
- dev-feat/TR-4875/update-flysystem-lib
- dev-feature/ensure-directory-wait-time
- dev-feature/factory-metadata-cache
This package is auto-updated.
Last update: 2025-01-22 15:30:07 UTC
README
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