PHP code example of ciricihq / blocks
1. Go to this page and download the library: Download ciricihq/blocks 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/ */
ciricihq / blocks example snippets
Plugin::load('Cirici/Blocks');
// src/View/AppView.php
public function initialize()
{
$this->loadHelper('Cirici/Blocks.Block');
}
// src/Controller/AppController.php
public function initialize()
{
$this->loadComponent('Cirici/Blocks.Block');
}