1. Go to this page and download the library: Download devgroup/yii2-ace-widget 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/ */
devgroup / yii2-ace-widget example snippets
use devgroup\ace\Ace;
Ace::widget([
'mode' => 'php', // editor mode
'name' => '', // editor name
'options' => [], // html options
'theme' => 'github', // editor theme
'value' => '', // editor default value
]);