PHP code example of benriadh1 / filament-benriadh-theme
1. Go to this page and download the library: Download benriadh1/filament-benriadh-theme 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/ */
benriadh1 / filament-benriadh-theme example snippets
use Benriadh1\FilamentBenriadhTheme\FilamentBenriadhThemePlugin;
public function panel(Panel $panel): Panel
{
return $panel->plugins([
FilamentBenriadhThemePlugin::make(),
]);
}
'apps_dropdown' => [
'max_items' => 15, // Maximum navigation items shown in the grid
],
'extensions' => [
'plugin_adapters' => [
\Benriadh1\FilamentBenriadhTheme\Adapters\TranslationManagerAdapter::class,
// or your own adapter:
App\Theme\MyPluginAdapter::class,
],
],