PHPackages                             afsakar/filament-translate-action - 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. afsakar/filament-translate-action

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

afsakar/filament-translate-action
=================================

Translate action for FilamentPHP

v1.2.1(1y ago)363.7k6[4 PRs](https://github.com/afsakar/filament-translate-action/pulls)1MITPHPPHP ^8.1CI passing

Since Nov 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/afsakar/filament-translate-action)[ Packagist](https://packagist.org/packages/afsakar/filament-translate-action)[ Docs](https://github.com/afsakar/filament-translate-action)[ GitHub Sponsors](https://github.com/afsakar)[ RSS](/packages/afsakar-filament-translate-action/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (13)Versions (13)Used By (1)

Translate action for FilamentPHP
================================

[](#translate-action-for-filamentphp)

[![Latest Version on Packagist](https://camo.githubusercontent.com/150699327b35f96e85ea8ddfa17ee26304824475e7ba4edbfd93d0b73a93213d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616673616b61722f66696c616d656e742d7472616e736c6174652d616374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/afsakar/filament-translate-action)[![Total Downloads](https://camo.githubusercontent.com/1bd743a3cfab2ba29ff4a354590028bd796a3ab38e22687a3cf663999dd02107/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616673616b61722f66696c616d656e742d7472616e736c6174652d616374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/afsakar/filament-translate-action)

[![Screenshot](https://camo.githubusercontent.com/a49abbe19949f0a11a37350deb44ed3f6a7090eb252f75e2e1371cbfa7fa3145/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f46696c616d656e742532305472616e736c617465253230416374696f6e2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d616673616b617225324666696c616d656e742d7472616e736c6174652d616374696f6e267061747465726e3d617263686974656374267374796c653d7374796c655f32266465736372697074696f6e3d5472616e736c6174652b616374696f6e2b666f722b46696c616d656e74504850266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)](https://camo.githubusercontent.com/a49abbe19949f0a11a37350deb44ed3f6a7090eb252f75e2e1371cbfa7fa3145/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f46696c616d656e742532305472616e736c617465253230416374696f6e2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d616673616b617225324666696c616d656e742d7472616e736c6174652d616374696f6e267061747465726e3d617263686974656374267374796c653d7374796c655f32266465736372697074696f6e3d5472616e736c6174652b616374696f6e2b666f722b46696c616d656e74504850266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)

This package provides a simple action to translate fields in FilamentPHP.

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

[](#installation)

You can install the package via composer:

```
composer require afsakar/filament-translate-action
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-translate-action-config"
```

This is the contents of the published config file:

```
return [
    'laravellocalization' => true, // if you use mcamara/laravel-localization package you can set this to true

    // if you don't use mcamara/laravel-localization package you can set your locales here
    'locales' => [
        'tr' => 'Türkçe',
        'en' => 'English',
    ],
];
```

Usage
-----

[](#usage)

```
...

RichEditor::make('body')
    ->label('Body')
    ->translatable() // add this line to make field translatable. That's it!
    ->required(),

...
```

Screenshot
----------

[](#screenshot)

[![Screenshot](https://raw.githubusercontent.com/afsakar/filament-translate-action/main/art/filament-translatable-action.gif)](https://raw.githubusercontent.com/afsakar/filament-translate-action/main/art/filament-translatable-action.gif)

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Azad Furkan ŞAKAR](https://github.com/afsakar)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance66

Regular maintenance activity

Popularity33

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.6% 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 ~41 days

Recently: every ~64 days

Total

9

Last Release

579d ago

Major Versions

v0.1.2 → v1.0.02024-01-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b40b7f308602075b99b5a258335ae711560c528f387f2abbb13f7a6e38a9a98?d=identicon)[afsakar](/maintainers/afsakar)

---

Top Contributors

[![afsakar](https://avatars.githubusercontent.com/u/75483091?v=4)](https://github.com/afsakar "afsakar (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")[![EG-Mohamed](https://avatars.githubusercontent.com/u/23424932?v=4)](https://github.com/EG-Mohamed "EG-Mohamed (1 commits)")[![HomaEEE](https://avatars.githubusercontent.com/u/1429343?v=4)](https://github.com/HomaEEE "HomaEEE (1 commits)")[![misaf](https://avatars.githubusercontent.com/u/8195685?v=4)](https://github.com/misaf "misaf (1 commits)")

---

Tags

filamentphpfilamentphp-plugingoogle-translatelaravellaravel-packagetranslatelaravelafsakarfilament-translate-action

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/afsakar-filament-translate-action/health.svg)

```
[![Health](https://phpackages.com/badges/afsakar-filament-translate-action/health.svg)](https://phpackages.com/packages/afsakar-filament-translate-action)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[ralphjsmit/laravel-filament-components

A collection of reusable components for Filament.

10972.2k2](/packages/ralphjsmit-laravel-filament-components)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)

PHPackages © 2026

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