Language Switcher
Switch between languages on your app using user base column on database
Author:
Fady Mondy
Documentation

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

#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
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
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
The author
Switch between languages on your app using user base column on database
From the same author
Discord Notifications
Send notifications to a Discord channel using the native FilamentPHP Notification Facade class
Author:
Fady Mondy
Tenancy Multi-database
Tenancy multi-database integration for FilamentPHP
Author:
Fady Mondy
Menu Generator
Menu view generator using view component
Author:
Fady Mondy
Translations Manager
Manage your translation with DB and cache, you can scan an collect translation strings like `trans()` and `__()`, and translate them using UI
Author:
Fady Mondy
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese