PHP code example of virtualwonders / yii2-grapesjs
1. Go to this page and download the library: Download virtualwonders/yii2-grapesjs 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/ */
virtualwonders / yii2-grapesjs example snippets
use virtualwonders\grapesjs\GrapesJsAsset;
GrapesJsAsset::register($this);
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap4\BootstrapAsset',
'yii\bootstrap4\BootstrapPluginAsset',
'virtualwonders\fontawesome\FontAwesomeAsset',
'virtualwonders\grapesjs\GrapesJsAsset'
];
php composer.phar