kda/laravel-translatable

3.0.1 2024-04-17 14:12 UTC

This package is auto-updated.

Last update: 2024-11-17 13:24:41 UTC


README

Latest Version on Packagist Total Downloads

Installation

You can install the package via composer:

composer require kda/laravel-translatable

You can publish and run the migrations with:

php artisan vendor:publish --provider="\KDA\Laravel\Translatable\ServiceProvider" --tag="migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="\KDA\Laravel\Translatable\ServiceProvider" --tag="config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --provider="\KDA\Laravel\Translatable\ServiceProvider" --tag="views"

Usage

$laravel\Translatable = new KDA\Laravel\Translatable();
echo $laravel\Translatable->echoPhrase('Hello, KDA!');

Testing

composer test

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

License

The MIT License (MIT). Please see License File for more information. Please see License File for more information.