Translation Component plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Translation Component

Community

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

Tags: Developer Tool
Supported versions:
3.x
Fady Mondy avatar Author: Fady Mondy

Package health

Beta

Automated checks of this plugin's Composer package

57 / 100
Security 39
Maintenance 69
Ecosystem 100
15 checks
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 2 days ago

Documentation

Cover

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