PHPackages                             alareqi/filament-translatable-fields - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alareqi/filament-translatable-fields

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alareqi/filament-translatable-fields
====================================

This package adds a way to interact with alareqi/translatable-fields in Filament.

v2.0.9(2mo ago)0100MITPHPPHP ^8.2

Since Jul 26Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/aymanalareqi/filament-translatable-fields)[ Packagist](https://packagist.org/packages/alareqi/filament-translatable-fields)[ Docs](https://github.com/aymanalareqi/filament-translatable-fields)[ RSS](/packages/alareqi-filament-translatable-fields/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (18)Used By (0)

Filament Translatable Fields
============================

[](#filament-translatable-fields)

[![Latest Version on Packagist](https://camo.githubusercontent.com/60872e56c2819c340d1bf917d3a282b48219480b9680108e7720c4a6692dd583/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c61726571692f66696c616d656e742d7472616e736c617461626c652d6669656c64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alareqi/filament-translatable-fields)[![Total Downloads](https://camo.githubusercontent.com/8a46505b94fd85f082ac244e547e65ac4ba232b3947105e6eef236a7a5b0183b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c61726571692f66696c616d656e742d7472616e736c617461626c652d6669656c64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alareqi/filament-translatable-fields)

This package adds a way to make all filament fields translatable. It uses the `spatie/laravel-translatable` package in the background.

Compatible with Laravel 10, 11, and 12.

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

[](#installation)

You can install the package via composer:

```
composer require alareqi/filament-translatable-fields
```

Add the plugin to your desired Filament panel:

```
use Alareqi\FilamentTranslatableFields\FilamentTranslatableFieldsPlugin;

class FilamentPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ...
            ->plugins([
                FilamentTranslatableFieldsPlugin::make(),
            ]);
    }
}
```

You can specify the supported locales:

```
use Alareqi\FilamentTranslatableFields\FilamentTranslatableFieldsPlugin;

class FilamentPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ...
            ->plugins([
                FilamentTranslatableFieldsPlugin::make()
                    ->supportedLocales([
                        'en' => 'English',
                        'ar' => 'العربية',
                    ]),
            ]);
    }
}
```

By default, the package will use the `app.locale` if you don't specify the locales.

Usage
-----

[](#usage)

You can simply add `->translatable()` to any field to make it translatable.

```
use Filament\Forms\Components\TextInput;

TextInput::make('name')
    ->label('Name')
    ->translatable(),
```

Overwrite locales
-----------------

[](#overwrite-locales)

If you want to overwrite the locales on a specific field you can set the locales through the second parameter of the `->translatable()` function.

```
use Filament\Forms\Components\TextInput;

TextInput::make('name')
    ->label('Name')
    ->translatable(true, ['en' => 'English', 'ar' => 'العربية', 'fr' => 'French']),
```

### Good to know

[](#good-to-know)

This package will substitute the original field with a `Filament\Forms\Components\Tabs` component. This component will render the original field for each locale.

All chained methods you add before calling `->translatable()` will be applied to the original field. All chained methods you add after calling `->translatable()` will be applied to the `Filament\Forms\Components\Tabs` component.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Ayman Alareqi](https://github.com/AymanAlareqi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance85

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~36 days

Recently: every ~43 days

Total

17

Last Release

77d ago

Major Versions

v1.0.5 → v2.0.12025-08-08

PHP version history (2 changes)v1.0.0PHP ^8.0

v1.0.5PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9856614e15a47a8e1eba3b2bc64993fb935ab74de34d4e40b8115bc51f9ff18?d=identicon)[alareqi](/maintainers/alareqi)

---

Top Contributors

[![aymanalareqi](https://avatars.githubusercontent.com/u/77433449?v=4)](https://github.com/aymanalareqi "aymanalareqi (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alareqi-filament-translatable-fields/health.svg)

```
[![Health](https://phpackages.com/badges/alareqi-filament-translatable-fields/health.svg)](https://phpackages.com/packages/alareqi-filament-translatable-fields)
```

###  Alternatives

[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

118126.9k](/packages/stephenjude-filament-feature-flags)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[joaopaulolndev/filament-general-settings

Filament package to manage general settings

18129.7k](/packages/joaopaulolndev-filament-general-settings)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[marjose123/filament-webhook-server

Send webhooks from your filament apps

507.3k2](/packages/marjose123-filament-webhook-server)

PHPackages © 2026

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