PHPackages                             tomatophp/filament-language-switcher - 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-language-switcher

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

tomatophp/filament-language-switcher
====================================

Switch between languages on your app using user base column on database

4.0.1(7mo ago)3422.8k↓17.4%10[1 issues](https://github.com/tomatophp/filament-language-switcher/issues)[4 PRs](https://github.com/tomatophp/filament-language-switcher/pulls)1MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Oct 23Pushed 1mo ago2 watchersCompare

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

READMEChangelog (9)Dependencies (15)Versions (14)Used By (1)

[![Screenshot](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/fadymondy-tomato-language-switcher.jpg)](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/fadymondy-tomato-language-switcher.jpg)

Filament Language Switcher
==========================

[](#filament-language-switcher)

[![Dependabot Updates](https://github.com/tomatophp/filament-language-switcher/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/tomatophp/filament-language-switcher/actions/workflows/dependabot/dependabot-updates)[![PHP Code Styling](https://github.com/tomatophp/filament-language-switcher/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/tomatophp/filament-language-switcher/actions/workflows/fix-php-code-styling.yml)[![Tests](https://github.com/tomatophp/filament-language-switcher/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/tomatophp/filament-language-switcher/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/5e296dd0c5450315dd529a534405c4e564179fa37361eed2cd966ae9400bb0aa/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6c616e67756167652d73776974636865722f76657273696f6e2e737667)](https://packagist.org/packages/tomatophp/filament-language-switcher)[![License](https://camo.githubusercontent.com/70f60e1a1aafa8855c127040477b985ad887d94d0bd8183ba8acea59c7b46f4c/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6c616e67756167652d73776974636865722f6c6963656e73652e737667)](https://packagist.org/packages/tomatophp/filament-language-switcher)[![Downloads](https://camo.githubusercontent.com/5fbdaf5cab80d0fb0c1d7f1416facc73bc78c07f4dfde8e345e1e97d7ac56858/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d6c616e67756167652d73776974636865722f642f746f74616c2e737667)](https://packagist.org/packages/tomatophp/filament-language-switcher)

Switch between languages on your app using user base column on database

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

[](#screenshots)

[![Switcher Light](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/switcher-light.png)](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/switcher-light.png)[![RTL](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/rtl.png)](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/rtl.png)[![Dropdown Light](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/dropdown-light.png)](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/dropdown-light.png)[![Dropdown Dark](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/dropdown-dark.png)](https://raw.githubusercontent.com/tomatophp/filament-language-switcher/master/arts/dropdown-dark.png)

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

[](#installation)

```
composer require tomatophp/filament-language-switcher
```

after install your package please run this command

```
php artisan filament-language-switcher:install
```

finally register the plugin on `/app/Providers/Filament/AdminPanelProvider.php`

```
->plugin(\TomatoPHP\FilamentLanguageSwitcher\FilamentLanguageSwitcherPlugin::make())
```

now on your `User.php` model or any user model add this trait

```
use \TomatoPHP\FilamentLanguageSwitcher\Traits\InteractsWithLanguages;
```

now you must see the switcher and you can change language as you like

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

[](#publish-assets)

you can publish config file by use this command

```
php artisan vendor:publish --tag="filament-language-switcher-config"
```

you can publish views file by use this command

```
php artisan vendor:publish --tag="filament-language-switcher-views"
```

you can publish languages file by use this command

```
php artisan vendor:publish --tag="filament-language-switcher-lang"
```

you can publish migrations file by use this command

```
php artisan vendor:publish --tag="filament-language-switcher-migrations"
```

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

54

—

FairBetter than 97% of packages

Maintenance77

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 69.9% 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 ~38 days

Recently: every ~54 days

Total

10

Last Release

229d ago

Major Versions

v1.0.6 → v4.x-dev2025-07-28

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

v1.0.5PHP ^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 (51 commits)")[![kerwin-wildsea](https://avatars.githubusercontent.com/u/110119609?v=4)](https://github.com/kerwin-wildsea "kerwin-wildsea (6 commits)")[![Chanthoeun](https://avatars.githubusercontent.com/u/817917?v=4)](https://github.com/Chanthoeun "Chanthoeun (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![LuizCristino](https://avatars.githubusercontent.com/u/33782549?v=4)](https://github.com/LuizCristino "LuizCristino (1 commits)")[![daviddprtma](https://avatars.githubusercontent.com/u/76859181?v=4)](https://github.com/daviddprtma "daviddprtma (1 commits)")[![anand-patel](https://avatars.githubusercontent.com/u/5024250?v=4)](https://github.com/anand-patel "anand-patel (1 commits)")

---

Tags

filamentfilament-pluginlanguageslaravelmulti-languageswitchertomatophpphplaravelfilament-plugintomatophplanguage-switch

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tomatophp-filament-language-switcher/health.svg)

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

###  Alternatives

[bezhansalleh/filament-language-switch

Zero config Language Switch(Changer/Localizer) plugin for filamentphp admin

3431.0M16](/packages/bezhansalleh-filament-language-switch)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[tomatophp/filament-pwa

get a PWA feature on your FilamentPHP app with settings from panel

8115.8k](/packages/tomatophp-filament-pwa)[tomatophp/filament-invoices

Generate and manage your invoices / payments using multi currencies and multi types in FilamentPHP

993.9k](/packages/tomatophp-filament-invoices)[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-api

Generate APIs from your filament resource using single line of code

507.1k1](/packages/tomatophp-filament-api)

PHPackages © 2026

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