tomatophp/filament-translation-component

Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin
70,760 5
Install
composer require tomatophp/filament-translation-component
Latest Version:v4.0.1
PHP:^8.2|^8.3|^8.4
License:MIT
Last Updated:Jun 22, 2026
Links: GitHub  ·  Packagist
Maintainer: fadymondy

Cover

Filament Translation Component

Dependabot Updates PHP Code Styling Tests Latest Stable Version PHP Version Require License Downloads

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

Screenshots

Light Textarea Dark Textarea Light Input Dark Input

Installation

composer require tomatophp/filament-translation-component

Using

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.

Convert input to textarea

use \TomatoPHP\FilamentTranslationComponent\Components\Translation;

Translation::make('title')
    ->label('Title')
    ->textarea()

Publish Assets

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"

Testing

if you like to run PEST testing just use this command

composer test

Code Style

if you like to fix the code style just use this command

composer format

PHPStan

if you like to check the code by PHPStan just use this command

composer analyse

Other Filament Packages

Checkout our Awesome TomatoPHP

Related Packages

tomatophp/filament-translations-gpt

Translations Manager extension to use ChatGPT openAI to auto translate your __()...

5,982 29
tomatophp/filament-icons

Picker & Table Column & Icons Provider for FilamentPHP

119,058 39
parfumix/laravel-translator

Translator for Laravel

14 0
jaybizzle/hasmeta

Access model meta data as if it was a property on your model

1,852 29
spatie/laravel-sluggable

Generate slugs when saving Eloquent models

13,300,010 1,552