<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
benriadh1 / laravel-filament-translation-manager example snippets
use Benriadh1\FilamentTranslationManager\BenriadhFilamentTranslationManagerPlugin;
use Filament\Panel;
public function panel(Panel $panel): Panel
{
return $panel->plugins([
BenriadhFilamentTranslationManagerPlugin::make(),
]);
}
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
public static function form(Schema $schema): Schema
{
return $schema->components([
TextInput::make('name')
->label(__('sys.companies.fields.name'))
->