PHP code example of grozzzny / editable

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

    

grozzzny / editable example snippets


<!-- Модуль: вставка кода -->
<? foreach (Editable::findAll(['status' => Editable::STATUS_ON]) as $editable) echo $editable->code.PHP_EOL; 
bash
$ php composer.phar 
bash
php yii migrate --migrationPath=@vendor/grozzzny/editable/migrations