coresky / upload
Prod-ware for file uploads
Installs: 24
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/coresky/upload
Requires
- php: >7.0
- energy/air: *
This package is auto-updated.
Last update: 2025-10-08 18:28:02 UTC
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: ..