PHPackages                             tomatophp/filament-translation-component - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. tomatophp/filament-translation-component

ActiveLibrary[Localization &amp; i18n](/categories/localization)

tomatophp/filament-translation-component
========================================

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

v4.0.1(8mo ago)558.4k—3%8[4 PRs](https://github.com/tomatophp/filament-translation-component/pulls)12MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Jul 10Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/tomatophp/filament-translation-component)[ Packagist](https://packagist.org/packages/tomatophp/filament-translation-component)[ GitHub Sponsors](https://github.com/fadymondy)[ RSS](/packages/tomatophp-filament-translation-component/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (15)Versions (11)Used By (12)

[![Cover](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/fadymondy-tomato-translation-component.jpg)](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/fadymondy-tomato-translation-component.jpg)

Filament Translation Component
==============================

[](#filament-translation-component)

[![Dependabot Updates](https://github.com/tomatophp/filament-translation-component/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/tomatophp/filament-translation-component/actions/workflows/dependabot/dependabot-updates)[![PHP Code Styling](https://github.com/tomatophp/filament-translation-component/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/tomatophp/filament-translation-component/actions/workflows/fix-php-code-styling.yml)[![Tests](https://github.com/tomatophp/filament-translation-component/actions/workflows/tests.yml/badge.svg)](https://github.com/tomatophp/filament-translation-component/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/983f0405f33347d75442515e60aaae709a9a5a134a02b2c421e40d76c01b9f46/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d7472616e736c6174696f6e2d636f6d706f6e656e742f76657273696f6e2e737667)](https://packagist.org/packages/tomatophp/filament-translation-component)[![PHP Version Require](https://camo.githubusercontent.com/f0bf4b9e15f9c81e4717c708138506adcc1fdac4247beddba7288a771302d1bc/687474703a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d7472616e736c6174696f6e2d636f6d706f6e656e742f726571756972652f706870)](https://packagist.org/packages/tomatophp/filament-translation-component)[![License](https://camo.githubusercontent.com/f7260d1f01957f5652a7578ec0c86bca920aeab7be9a2464c251959acdc133ac/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d7472616e736c6174696f6e2d636f6d706f6e656e742f6c6963656e73652e737667)](https://packagist.org/packages/tomatophp/filament-translation-component)[![Downloads](https://camo.githubusercontent.com/5d3d51d4a79d2479b63f65551eb1f2c92637ed5568c64f7810c6dd81fb2a3b71/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d7472616e736c6174696f6e2d636f6d706f6e656e742f642f746f74616c2e737667)](https://packagist.org/packages/tomatophp/filament-translation-component)

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

Screenshots
-----------

[](#screenshots)

[![Light Textarea](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/textarea-light.png)](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/textarea-light.png)[![Dark Textarea](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/textarea-dark.png)](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/textarea-dark.png)[![Light Input](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/input-light.png)](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/input-light.png)[![Dark Input](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/input-dark.png)](https://raw.githubusercontent.com/tomatophp/filament-translation-component/master/arts/input-dark.png)

Installation
------------

[](#installation)

```
composer require tomatophp/filament-translation-component
```

Using
-----

[](#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
-------------------------

[](#convert-input-to-textarea)

```
use \TomatoPHP\FilamentTranslationComponent\Components\Translation;

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

Publish Assets
--------------

[](#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
-------

[](#testing)

if you like to run `PEST` testing just use this command

```
composer test
```

Code Style
----------

[](#code-style)

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

```
composer format
```

PHPStan
-------

[](#phpstan)

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

```
composer analyse
```

Other Filament Packages
-----------------------

[](#other-filament-packages)

Checkout our [Awesome TomatoPHP](https://github.com/tomatophp/awesome)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance69

Regular maintenance activity

Popularity38

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~69 days

Recently: every ~99 days

Total

7

Last Release

260d ago

Major Versions

v1.0.4 → v4.0.02025-08-20

PHP version history (2 changes)v1.0.0PHP ^8.1|^8.2

v4.0.0PHP ^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![adereksisusanto](https://avatars.githubusercontent.com/u/34746706?v=4)](https://github.com/adereksisusanto "adereksisusanto (1 commits)")[![digitall-it](https://avatars.githubusercontent.com/u/3578378?v=4)](https://github.com/digitall-it "digitall-it (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

filament-pluginspatie-integrationtranslation-componenttranslationsphpspatielaraveltranslationtranslatablekeycomponentvaluefilamentphp

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tomatophp-filament-translation-component/health.svg)

```
[![Health](https://phpackages.com/badges/tomatophp-filament-translation-component/health.svg)](https://phpackages.com/packages/tomatophp-filament-translation-component)
```

###  Alternatives

[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

543638.1k4](/packages/codezero-laravel-localized-routes)[tomatophp/filament-translations-gpt

Translations Manager extension to use ChatGPT openAI to auto translate your \_\_(), trans() fn

293.9k](/packages/tomatophp-filament-translations-gpt)[tomatophp/filament-icons

Picker &amp; Table Column &amp; Icons Provider for FilamentPHP

3598.2k13](/packages/tomatophp-filament-icons)[tomatophp/filament-cms

Full CMS System with support of importing integrations and multi meta functions

11410.4k4](/packages/tomatophp-filament-cms)[opgginc/codezero-laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

2770.1k1](/packages/opgginc-codezero-laravel-localized-routes)[awes-io/localization-helper

Package for convenient work with Laravel's localization features

3527.1k4](/packages/awes-io-localization-helper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
