popov / zfc-file-upload
ZF2 File Uploader
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
Type:zf-module
Requires
- php: >=5.6
This package is auto-updated.
Last update: 2025-01-07 02:20:38 UTC
README
Simple files upload module which allow attach files to any registered item.
There is no complex settings for this module that allow use module immediately after install.
Usage
Enable module in your modules.config.php
with next name Popov\ZfcFileUpload
.
Add next code snippet to any template file and upload files you want
<?= $this->partial('template/file-upload', [ 'prefix' => 'student', // unique key 'loadJs' => true, 'permissionUploadFile' => true, // allow upload files 'permissionDeleteFile' => true, // allow delete files ]) ?>