1. Go to this page and download the library: Download icanboogie/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/ */
use ICanBoogie\ErrorCollection;
use ICanBoogie\Module;
/* @var Module $nodes */
$errors = new ErrorCollection();
if (!$nodes->is_installed($errors)) {
#
# $errors might contain messages about why the module is not installed
#
$errors->clear();
if (!$nodes->install($errors)) {
#
# $errors might contain the reasons why the module failed to install
#
}
}
$nodes->uninstall();