
Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin

composer require tomatophp/filament-translation-component
you can use the component on your form like this
use \TomatoPHP\FilamentTranslationComponent\Components\Translation;Â Translation::make('title') ->label('Title')
you can change the language from the config file.
use \TomatoPHP\FilamentTranslationComponent\Components\Translation;Â Translation::make('title') ->label('Title') ->textarea()
you can publish config file by use this command
php artisan vendor:publish --tag="filament-translation-component-config"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-translation-component-lang"
if you like to run PEST testing just use this command
composer test
if you like to fix the code style just use this command
composer format
if you like to check the code by PHPStan just use this command
composer analyse
Checkout our Awesome TomatoPHP