PHP code example of supercool / tools
1. Go to this page and download the library: Download supercool/tools 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/ */
supercool / tools example snippets
use spicyweb\oddsandends\fields\AuthorInstructions;
use spicyweb\oddsandends\fields\DisabledProducts;
use spicyweb\oddsandends\widgets\RollYourOwn;
return [
'disableNormalFields' => [
AuthorInstructions::class,
],
'disableCommerceFields' => [
DisabledProducts::class,
],
'disableWidgets' => [
RollYourOwn::class,
],
];