1. Go to this page and download the library: Download blackpig-creatif/grimoire 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/ */
blackpig-creatif / grimoire example snippets
use BlackpigCreatif\Grimoire\GrimoirePlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
GrimoirePlugin::make()
->navigationGroup('Help') // optional — defaults to 'Help'
->withDocs(), // optional — enables Grimoire's own built-in docs
]);
}