Ring
, (*1)
, (*2)
An php file upload solution for lazy web developers, (*3)
, (*4)
Why Ring?
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., (*5)
As for the name, it's the nick name of a guy from our design team at dyweb, (*6)
Features
- 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, (*7)
Usage
see example/upload for how to use, (*8)
- add
dyweb/ring to your composer.json
Development
TODO, (*9)
Roadmap
- [x] 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