PHP code example of muhiddingithub / yii2-meditor

1. Go to this page and download the library: Download muhiddingithub/yii2-meditor 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/ */

    

muhiddingithub / yii2-meditor example snippets


php composer.phar 

$form->field($model, 'body')->widget(\muhiddin\meditor\FroalaEditor::className(), [
        'options' => [
            'height' => '400px',
            'imageManagerPageSize' => 2
        ]
    ])