1. Go to this page and download the library: Download execut/yii2-kcfinder 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/ */
execut / yii2-kcfinder example snippets
use execut\yii2kcfinder\KCFinderInputWidget;
echo KCFinderInputWidget::widget([
'name' => 'image',
]);
use execut\yii2kcfinder\KCFinderInputWidget;
echo $form->field($model, 'images')->widget(KCFinderInputWidget::class, [
'multiple' => true,
]);