An php file upload solution for lazy web developers
Because file & image upload is common problem for php developers, especially when they want to build a website with rich text editing feature. It's a pain to write the same logic again and again. As for front end, it's even worse, for the editors that support image/file upload, some got a single php file for handle image upload, some got a charged file manager, and most of these code are just too old to fix/add features like access control.
As for the name, it's the nick name of a guy from our design team at dyweb
- handle image & file upload validation
- support different backend, local filesystem, cloud service provider (ie: qiniu, aliyun)
- store data and meta separately
- generate json directly from meta class (using JsonSerialize)
- acl for file
- file manager, see MissAtomicBomb
see doc for more information
see example/upload for how to use
- add
dyweb/ring
to yourcomposer.json
TODO
- file upload
- image upload
- image upload with thumbnail (thumbnail is treated as meta and store as base64)
- a tree structure to simulate folder structure OR use flysystem
- store meta, include image thumbnail
- list file
- list file by auth
- list file with thumbnail