Download the PHP package ildaviz/filament-language-tab without Composer
On this page you can find all versions of the php package ildaviz/filament-language-tab. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ildaviz/filament-language-tab
More information about ildaviz/filament-language-tab
Files in ildaviz/filament-language-tab
Package filament-language-tab
Short Description A Laravel package to add a language tab to the Filament admin panel
License MIT
Informations about the package filament-language-tab
Filament Language Tab
Administers multi-language content in tabs. Each tab is divided by language. You can go and customize the label or tab content to your liking. In addition, there is a Facade to also use this system in modals or wherever you like. An easy way to manage multi-language sites with Filament!
Preview
Installation
Publish the configuration:
Set Spatie Translatable on models
Usage for resources
- Add on config/filament-language-tab.php your languages.
- Add this element on your create and edit page.
Add on Crate page and Edit page this "use" statement.
Add these methods to change the locales or translatable attributes for a given page
- Add on your form this component. Example:
TabsTranslatable is a wrapper for the Tabs component. It is used to create a tab for each language and to manage the translations of the fields.
To add custom languages.
For create the form for each language.
Add correct label for fields.
Usage on modals or other components
Issue Reporting
Please report any problems or bugs in the dedicated issues section on GitHub. Contributions and suggestions are welcome.
License
This package is distributed under the MIT license. For more information, refer to the LICENSE file.
All versions of filament-language-tab with dependencies
spatie/laravel-package-tools Version ^1.16
spatie/laravel-translatable Version ^6.5