1. Go to this page and download the library: Download madtechservices/madcms 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/ */
madtechservices / madcms example snippets
use MadTechServices\MadCms\Contracts\ModuleTypeRegistry;
public function boot(ModuleTypeRegistry $modules): void
{
$modules->register('booking-calendar', [
'label' => 'Booking calendar',
'category' => 'forms',
]);
}