PHP code example of eugenec138 / cakephp-cms

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

    

eugenec138 / cakephp-cms example snippets


public function initialize()
{
    $this->loadHelper('Form', ['className' => 'AdminLTE.Form']);
    $this->loadHelper('CakephpTinymceElfinder.TinymceElfinder');
}

// config/bootstrap.php
use Cake\Event\EventManager;
use Cms\Event\View\SitesManageListener;
EventManager::instance()->on(new SitesManageListener());