digicomp/league-flysystem
composer require digicomp/league-flysystem
A factory to create league filesystems in for the Flow framework
2.1.3
Readme excerpt
DigiComp.League.FlysystemThis package contains a factory for the filesystem abstraction layer written by Frank de Jonge. See http://flysystem.thephpleague.com/
There are two possibilities to use filesystems.
-
To use a filesystem in your project, I suggest you create an interface:
/** * @method array listFiles(string $path = '', boolean $recursive = false) * @method array listPaths(string $path = '', boolean $recursive = false) */ interface MyFilesystemInterface extends FilesystemInterface {}And configure it with your Objects.yaml:
AcMe\Package\SourceFilesystemInterface: scope: 'singleton' factoryObjectName: '…
Read more
The same vendor provides 9 package(s).