1. Go to this page and download the library: Download asmoday74/yii2-ckeditor5 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/ */
asmoday74 / yii2-ckeditor5 example snippets
use asmoday74\ckeditor5\EditorClassic;
...
<?= $form->field($model, 'content')->widget(EditorClassic::className(),[
'clientOptions' => [
'language' => 'en',
'uploadUrl' => 'upload', //url for upload files
'uploadField' => 'image', //field name in the upload form
]
]);