Download the PHP package wakjoko/localizable without Composer
On this page you can find all versions of the php package wakjoko/localizable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wakjoko/localizable
More information about wakjoko/localizable
Files in wakjoko/localizable
Package localizable
Short Description Transform any Eloquent attribute as multi language
License MIT
Homepage https://github.com/wakjoko/localizable
Informations about the package localizable
Localized language translation made simple yet elegant
Transform any Eloquent attribute as multi language.\ I found spatie's translation package is super awesome but it's lack of query flexibility makes me ichy to build this package instead.
Installation
Install the package via composer:
Create the table for data storage:
Setting Up
Enable model localization with below:
\ Use custom db connection or table name:
What would you get?
Preload localized language translation
Narrow down Person results based on localized language translation
Creating, updating localized language translation
Switch locale
Localizable data are also inspectable in Tinker
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please mail to [email protected] instead of using the issue tracker.
Credits
- Spatie Translatable
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of localizable with dependencies
illuminate/database Version ^9.0|^10.0
illuminate/support Version ^9.18|^10.0