coresky/upload
最新稳定版本:0.546
Composer 安装命令:
composer require coresky/upload
包简介
Prod-ware for file uploads
README 文档
README
Production ware. Use this product if your app need upload files. Custom croping images included.
| Essence | Count |
|---|---|
| Installer class | present (upload\ware) |
| w3 class | 1 (upload\ant) |
| Controller | 1, tune used |
| Model | 1 |
| Jet templates | 2 |
| Table in the database | 1, custom name |
| dd drivers support | 2 (sqlite3, mysqli) for now |
| Asset files | 1 (upload.js) |
Status: under development
Rewrite for a_.. actions:
if ($cnt && 'upload' == $surl[0]) { common_c::$tune = array_shift($surl); $cnt--; }
Attach upload.js:
Add on the backend:
# place upload.js to the tail upload\ant::init(); # or place upload.js to the head upload\ant::init('head');
Where 'upload' - tuning value (any of /^[\w+\-]+$/)
Improvement for MySQL
-- use enum for object's types: ALTER TABLE tblname CHANGE `obj` `obj` enum('com','per','prj','act','face') DEFAULT NULL, -- add a index: ..
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-25