├── .github ├── CONTRIBUTING.md ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug.yml │ └── config.yaml ├── SECURITY.md ├── dependabot.yml └── workflows │ ├── dependabot-auto-merge.yml │ ├── fix-php-code-styling.yml │ └── tests.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── LICENSE.md ├── README.md ├── SECURITY.md ├── arts ├── dropdown-dark.png ├── dropdown-light.png ├── fadymondy-tomato-language-switcher.jpg ├── rtl.png └── switcher-light.png ├── composer.json ├── composer.lock ├── config ├── .gitkeep └── filament-language-switcher.php ├── database └── migrations │ └── 2024_10_23_010712_create_user_languages_table.php ├── fadymondy-tomato-language-switcher.md ├── module.json ├── phpunit.xml ├── repomix-output.xml ├── resources ├── lang │ ├── .gitkeep │ ├── ar │ │ └── translation.php │ ├── de │ │ └── translation.php │ ├── en │ │ └── translation.php │ ├── es │ │ └── translation.php │ ├── fr │ │ └── translation.php │ ├── hi │ │ └── translation.php │ ├── id │ │ └── translation.php │ ├── it │ │ └── translation.php │ ├── ja │ │ └── translation.php │ ├── km │ │ └── translation.php │ ├── ko │ │ └── translation.php │ ├── my │ │ └── translation.php │ ├── nl │ │ └── translation.php │ ├── pt_BR │ │ └── translation.php │ ├── pt_PT │ │ └── translation.php │ ├── ru │ │ └── translation.php │ ├── tr │ │ └── translation.php │ └── zh │ │ └── translation.php └── views │ ├── .gitkeep │ ├── language-switcher.blade.php │ └── test-page.blade.php ├── routes └── web.php ├── src ├── Console │ └── FilamentLanguageSwitcherInstall.php ├── FilamentLanguageSwitcherPlugin.php ├── FilamentLanguageSwitcherServiceProvider.php ├── Http │ ├── Controllers │ │ └── LanguageController.php │ └── Middleware │ │ ├── .gitkeep │ │ └── LanguageMiddleware.php ├── Models │ └── UserLanguage.php └── Traits │ └── InteractsWithLanguages.php ├── testbench.yaml └── tests ├── Pest.php ├── database ├── database.sqlite └── factories │ ├── .gitkeep │ └── UserFactory.php └── src ├── AdminPanelProvider.php ├── DebugTest.php ├── InstallCommandTest.php ├── LanguageSwitcherTest.php ├── Models ├── .gitkeep └── User.php ├── PluginTest.php └── TestCase.php /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [fadymondy] 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/ISSUE_TEMPLATE/bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/ISSUE_TEMPLATE/config.yaml -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/SECURITY.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/dependabot-auto-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/workflows/dependabot-auto-merge.yml -------------------------------------------------------------------------------- /.github/workflows/fix-php-code-styling.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/workflows/fix-php-code-styling.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # V1.0.0 2 | 3 | First release of the package 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/SECURITY.md -------------------------------------------------------------------------------- /arts/dropdown-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/arts/dropdown-dark.png -------------------------------------------------------------------------------- /arts/dropdown-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/arts/dropdown-light.png -------------------------------------------------------------------------------- /arts/fadymondy-tomato-language-switcher.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/arts/fadymondy-tomato-language-switcher.jpg -------------------------------------------------------------------------------- /arts/rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/arts/rtl.png -------------------------------------------------------------------------------- /arts/switcher-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/arts/switcher-light.png -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/composer.lock -------------------------------------------------------------------------------- /config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/filament-language-switcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/config/filament-language-switcher.php -------------------------------------------------------------------------------- /database/migrations/2024_10_23_010712_create_user_languages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/database/migrations/2024_10_23_010712_create_user_languages_table.php -------------------------------------------------------------------------------- /fadymondy-tomato-language-switcher.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/fadymondy-tomato-language-switcher.md -------------------------------------------------------------------------------- /module.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/module.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/phpunit.xml -------------------------------------------------------------------------------- /repomix-output.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/repomix-output.xml -------------------------------------------------------------------------------- /resources/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/lang/ar/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/ar/translation.php -------------------------------------------------------------------------------- /resources/lang/de/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/de/translation.php -------------------------------------------------------------------------------- /resources/lang/en/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/en/translation.php -------------------------------------------------------------------------------- /resources/lang/es/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/es/translation.php -------------------------------------------------------------------------------- /resources/lang/fr/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/fr/translation.php -------------------------------------------------------------------------------- /resources/lang/hi/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/hi/translation.php -------------------------------------------------------------------------------- /resources/lang/id/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/id/translation.php -------------------------------------------------------------------------------- /resources/lang/it/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/it/translation.php -------------------------------------------------------------------------------- /resources/lang/ja/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/ja/translation.php -------------------------------------------------------------------------------- /resources/lang/km/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/km/translation.php -------------------------------------------------------------------------------- /resources/lang/ko/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/ko/translation.php -------------------------------------------------------------------------------- /resources/lang/my/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/my/translation.php -------------------------------------------------------------------------------- /resources/lang/nl/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/nl/translation.php -------------------------------------------------------------------------------- /resources/lang/pt_BR/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/pt_BR/translation.php -------------------------------------------------------------------------------- /resources/lang/pt_PT/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/pt_PT/translation.php -------------------------------------------------------------------------------- /resources/lang/ru/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/ru/translation.php -------------------------------------------------------------------------------- /resources/lang/tr/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/tr/translation.php -------------------------------------------------------------------------------- /resources/lang/zh/translation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/lang/zh/translation.php -------------------------------------------------------------------------------- /resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/language-switcher.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/views/language-switcher.blade.php -------------------------------------------------------------------------------- /resources/views/test-page.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/resources/views/test-page.blade.php -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/routes/web.php -------------------------------------------------------------------------------- /src/Console/FilamentLanguageSwitcherInstall.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/src/Console/FilamentLanguageSwitcherInstall.php -------------------------------------------------------------------------------- /src/FilamentLanguageSwitcherPlugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/src/FilamentLanguageSwitcherPlugin.php -------------------------------------------------------------------------------- /src/FilamentLanguageSwitcherServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/src/FilamentLanguageSwitcherServiceProvider.php -------------------------------------------------------------------------------- /src/Http/Controllers/LanguageController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/src/Http/Controllers/LanguageController.php -------------------------------------------------------------------------------- /src/Http/Middleware/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Http/Middleware/LanguageMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/src/Http/Middleware/LanguageMiddleware.php -------------------------------------------------------------------------------- /src/Models/UserLanguage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/src/Models/UserLanguage.php -------------------------------------------------------------------------------- /src/Traits/InteractsWithLanguages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/src/Traits/InteractsWithLanguages.php -------------------------------------------------------------------------------- /testbench.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/testbench.yaml -------------------------------------------------------------------------------- /tests/Pest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/Pest.php -------------------------------------------------------------------------------- /tests/database/database.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/database/database.sqlite -------------------------------------------------------------------------------- /tests/database/factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/database/factories/UserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/database/factories/UserFactory.php -------------------------------------------------------------------------------- /tests/src/AdminPanelProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/src/AdminPanelProvider.php -------------------------------------------------------------------------------- /tests/src/DebugTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/src/DebugTest.php -------------------------------------------------------------------------------- /tests/src/InstallCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/src/InstallCommandTest.php -------------------------------------------------------------------------------- /tests/src/LanguageSwitcherTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/src/LanguageSwitcherTest.php -------------------------------------------------------------------------------- /tests/src/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/src/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/src/Models/User.php -------------------------------------------------------------------------------- /tests/src/PluginTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/src/PluginTest.php -------------------------------------------------------------------------------- /tests/src/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomatophp/filament-language-switcher/HEAD/tests/src/TestCase.php --------------------------------------------------------------------------------