Download the PHP package internetguru/laravel-translatable without Composer
On this page you can find all versions of the php package internetguru/laravel-translatable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-translatable
Laravel Translatable
A Laravel package for translating Eloquent model attributes.
Branch | Status | Code Coverage |
---|---|---|
Main | ||
Staging | ||
Dev |
Installation
- Install the package via Composer:
Run Tests Locally
In Visual Studio Code you can simpy use Ctrl+Shift+B
to run the tests.
To run the tests manually, you can use the following commands:
Usage
-
Add the
Translatable
trait to your Eloquent model: -
Define the translatable attributes in the model. Do not use
$fillable
for translatable attributes: - Use translatable attributes:
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-translatable with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
^11.0
The package internetguru/laravel-translatable contains the following files
Loading the files please wait ....