dyweb/ring

This package is abandoned and no longer maintained. No replacement package was suggested.

v0.0.2 2015-10-28 15:50 UTC

This package is not auto-updated.

Last update: 2020-01-24 16:01:00 UTC


README

Build Status

Throughput Graph

An php file upload solution for lazy web developers

ring-logo

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 your composer.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