kak / upload
Upload files widgets for Yii2
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- kak/storage: *
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-10-22 05:27:18 UTC
README
upload widget for yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist kak/upload "*"
Usages
<?= \kak\widgets\upload\Upload::widget([ 'model' => $model, 'url' => ['site/upload'] ]); ?>
Configuration controller
Attach action UploadAction
class SiteController extends \yii\web\Controller { //... public function actions() { return []; } }