fileupload
fileupload copied to clipboard
Gaufrette Dependency
It would be neat if you could utilize the Gaufrette library for filesystem abstraction.
https://github.com/KnpLabs/Gaufrette
Gaufrette looks neat. Seems like it'll replace my PathResolver
, FileSystem
and File
classes. I'll give it a go asap.
I took a look at Gaufrette's Filesystem
interface, and it lacks a few key methods for this library's functionality (the distinction between isFile
and isDirectory
, also uploads-related wrappers like isUploadedFile
). So this issue will have to wait until that interface is improved.
FYI, Flysystem is a more popular alternative for this purpose. It might meet your requirements.
I plan to make a rewrite (lots of cleanup to do and https://github.com/Gargron/fileupload/issues/36) for this library (2.0) next month, I would be integrating Flysystem...