dyweb / ring
This package is abandoned and no longer maintained.
No replacement package was suggested.
v0.0.2
2015-10-28 15:50 UTC
Requires
- php: >=5.4.0
- league/flysystem: ~1.0
Requires (Dev)
- guzzlehttp/guzzle: ~6.0
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ~4.4
- squizlabs/php_codesniffer: ~2.0
This package is not auto-updated.
Last update: 2020-01-24 16:01:00 UTC
README
An php file upload solution for lazy web developers
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.
As for the name, it's the nick name of a guy from our design team at dyweb
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
Usage
see example/upload for how to use
- add
dyweb/ring
to yourcomposer.json
Development
TODO
Roadmap
- 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