PHP code example of anomaly / blocks-module
1. Go to this page and download the library: Download anomaly/blocks-module 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/ */
anomaly / blocks-module example snippets
// In your addon service provider
protected $blocks = [
'sidebar' => [
'description' => 'Sidebar content blocks'
],
'footer' => [
'description' => 'Footer content blocks'
]
];