backstage / translations
Backstage Translations for Filament
Fund package maintenance!
backstagephp
Requires
- php: ^8.2
- backstage/laravel-translations: ^0.2.4
- filament/filament: ^3.2
- ryangjchandler/filament-progress-column: ^1.0
- spatie/laravel-package-tools: ^1.19
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- dev-main
- v0.2.22
- v0.2.21
- v0.2.20
- v0.2.19
- v0.2.18
- v0.2.17
- v0.2.16
- v0.2.15
- v0.2.14
- v0.2.13
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.23
- v0.1.22
- v0.1.21
- v0.1.20
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-feature/keyvalue-translations
This package is auto-updated.
Last update: 2025-03-10 15:24:28 UTC
README
Nice to meet you, we're Vormkracht10
Hi! We're a digital agency from Nijmegen in the Netherlands and we use Laravel for everything: advanced websites with a lot of bells and whistles and large web applications.
Before using
Please read this documentation first: https://github.com/backstagephp/laravel-translations
Installation
You can install the package via composer:
composer require backstage/translations
You can publish and run the migrations with:
php artisan vendor:publish --provider="Backstage\Translations\Laravel\TranslationServiceProvider" php artisan vendor:publish --provider="Backstage\Translations\Filament\TranslationServiceProvider" php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="translations-config" php artisan vendor:publish --tag="backstage-translations-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="backstage-translations-views"
Add the TranslationsPlugin to the desired panel provider:
use Backstage\Translations\Filament\TranslationsPlugin; $panel ->plugins([ TranslationsPlugin::make(), ]);
Optionally, you can disable the language switcher and rely on the default
language:
use Backstage\Translations\Filament\TranslationsPlugin; $panel ->plugins([ TranslationsPlugin::make() ->languageSwitcherDisabled(), ]);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.