tomatophp / filament-translation-component
Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin
Fund package maintenance!
3x1io
Installs: 8 451
Dependents: 6
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 1
Language:Blade
Requires
- php: ^8.1|^8.2
- filament/filament: ^3.0
- filament/spatie-laravel-translatable-plugin: ^3.0
- tomatophp/console-helpers: ^1.1
This package is auto-updated.
Last update: 2024-12-16 14:21:41 UTC
README
Filament Translation Component
Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin
Screenshots
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.
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"
Other Filament Packages
Checkout our Awesome TomatoPHP