PHP code example of filament / spatie-laravel-settings-plugin

1. Go to this page and download the library: Download filament/spatie-laravel-settings-plugin 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/ */

    

filament / spatie-laravel-settings-plugin example snippets


protected static string $settings = FooterSettings::class;

use Filament\Forms\Components\Repeater;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;

public function form(Form $form): Form
{
    return $form
        ->schema([
            TextInput::make('copyright')
                ->label('Copyright notice')
                ->
bash
php artisan make:filament-settings-page ManageFooter FooterSettings
bash
php artisan vendor:publish --tag=filament-spatie-laravel-settings-plugin-translations