Download the PHP package kaantanis/filament-model-translatable without Composer
On this page you can find all versions of the php package kaantanis/filament-model-translatable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaantanis/filament-model-translatable
More information about kaantanis/filament-model-translatable
Files in kaantanis/filament-model-translatable
Package filament-model-translatable
Short Description This is my package filament-model-translatable
License MIT
Homepage https://github.com/kaantanis/filament-model-translatable
Informations about the package filament-model-translatable
Filament Model Translatable
Filament model translatable is a package that provides a trait to make your models translatable in Laravel Filament. The data is stored in a new table with the model's id, the field name, the language, and the value.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
Important Notice
When using the translatable
method, the ->translatable()
method must be called the last. Otherwise, other methods will not work.
When using Select component, be sure to use the ->options()
method after the ->translatable()
method.
We need new ideas for version 2.0.0. Please open a discussion for your ideas.
Testing
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
- KaanTanis
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-model-translatable with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0