rogeecn/yii2-simple-ajax-uploader
Composer 安装命令:
composer require rogeecn/yii2-simple-ajax-uploader
包简介
SimpleAjaxUploader wrapper of Yii2 input extension https://github.com/LPology/Simple-Ajax-Uploader
README 文档
README
SimpleAjaxUploader wraper of yii2 input extension
single image upload or multiple image upload
thks for LPology/Simple-Ajax-Uploader
Screenshot
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist rogeecn/yii2-simple-ajax-uploader "~1.0.1"
or add
"rogeecn/yii2-simple-ajax-uploader": "~1.0.1"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
// single image upload <?= $form->field($model,"xxx")->widget(\rogeecn\SimpleAjaxUploader\SingleImage::className(),[ // configuration.. ]); ?> // multiple image upload <?= $form->field($model,"xxx")->widget(\rogeecn\SimpleAjaxUploader\MultipleImage::className(),[ // configuration.. ]); ?>
统计信息
- 总下载量: 512
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-19
