PHP code example of rogeecn / yii2-simple-ajax-uploader
1. Go to this page and download the library: Download rogeecn/yii2-simple-ajax-uploader library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rogeecn / yii2-simple-ajax-uploader example snippets
// single image upload
<?= $form->field($model,"xxx")->widget(\rogeecn\SimpleAjaxUploader\SingleImage::className(),[
// configuration..
]);
php composer.phar