tomatophp / filament-translation-component
Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin
Package info
github.com/tomatophp/filament-translation-component
pkg:composer/tomatophp/filament-translation-component
Fund package maintenance!
Requires
- php: ^8.2
- filament/filament: ^5.0
- lara-zeus/spatie-translatable: ^2.0
- tomatophp/console-helpers: ^1.1
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.24
- nunomaduro/collision: ^8.6
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.0|^5.0
- pestphp/pest-plugin-arch: ^4.0|^5.0
- pestphp/pest-plugin-laravel: ^4.0|^5.0
- pestphp/pest-plugin-livewire: ^4.0|^5.0
- pestphp/pest-plugin-type-coverage: ^4.0|^5.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-15 17:08:05 UTC
README
Filament Translation Component
Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin
⭐ If this package saves you time, star it and browse 60+ more Filament plugins at tomatophp.com/en/plugins.
Screenshots
Try it live on demo.tomatophp.com.
Compatibility
| Package version | Filament | Laravel | PHP |
|---|---|---|---|
| 5.x | 5.x | 12.x, 13.x | 8.2+ |
| 4.x | 4.x | 11.x, 12.x | 8.2+ |
Installation
composer require tomatophp/filament-translation-component:^5.0
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
More open source from the same author
- TomatoPHP: 60+ open-source FilamentPHP plugins for Laravel
- Laravilt: Laravel admin panels rendered with Inertia on Vue 3 or React 19
- ToGO: the Laravel-style workflow for Go + React apps, with a plugin marketplace
- Zekra: long-term memory for AI agents over MCP
Built by Fady Mondy.






