PHP code example of rectitude-open / filament-system-settings
1. Go to this page and download the library: Download rectitude-open/filament-system-settings 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/ */
rectitude-open / filament-system-settings example snippets
return [
'system_settings' => \RectitudeOpen\FilamentSystemSettings\Settings\SystemSettings::class,
'system_settings_page' => \RectitudeOpen\FilamentSystemSettings\Pages\SystemSettingsPage::class,
];
namespace App\Providers\Filament;
use RectitudeOpen\FilamentSystemSettings\FilamentSystemSettingsPlugin;
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
FilamentSystemSettingsPlugin::make()
]);
}
}
bash
php artisan vendor:publish --tag="filament-system-settings-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-system-settings-config"
bash
php artisan vendor:publish --tag="filament-news-translations"