PHP code example of panelis-php / cms
1. Go to this page and download the library: Download panelis-php/cms 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/ */
panelis-php / cms example snippets
use Filament\Panel;
use Panelis\Cms\Providers\AdminPanelProvider;
public function register(): void
{
AdminPanelProvider::configurePanel(function (Panel $panel): void {
$panel->plugins([
new ServicePingerPlugin,
FilamentLogViewer::make()
->navigationGroup(__('ui.system'))
->navigationIcon('')
->navigationLabel(__('ui.log')),
]);
});
}
bash
composer