Download the PHP package typicms/translatable without Composer
On this page you can find all versions of the php package typicms/translatable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download typicms/translatable
More information about typicms/translatable
Files in typicms/translatable
Package translatable
Short Description A trait to make an Eloquent model hold translations
License MIT
Homepage https://github.com/typicms/translatable
Informations about the package translatable
A trait to make Eloquent models translatable
This project is based on spatie/laravel-translatable, it resolves inconsistencies that have arisen over time in the initial project.
This package contains a trait HasTranslations to make Eloquent models translatable. Translations are stored as json.
There is no extra table needed to hold them.
After the trait is applied on the model, you can do these things:
Testing
Security
If you've found a bug regarding security, please mail [email protected] instead of using the issue tracker.
Credits
We got the idea to store translations as JSON in a column from Mohamed Said. Parts of the readme of his multilingual package were used in this readme.
License
The MIT License (MIT). Please see License File for more information.
All versions of translatable with dependencies
illuminate/database Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
spatie/laravel-package-tools Version ^1.11