smart-cms/model-translate is a Laravel package for this is my package model-translate.
It currently has 0 GitHub stars and 1.594 downloads on Packagist (latest version v1.0.3).
Install it with composer require smart-cms/model-translate.
Discover more Laravel packages by smart-cms
or browse all Laravel packages to compare alternatives.
Last updated
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
You can install the package via composer:
composer require smartcms/model-translate
[!IMPORTANT] If you have not set up a custom theme and are using Filament Panels follow the instructions in the Filament Docs first.
After setting up a custom theme add the plugin's views to your theme css file or your app's css file if using the standalone packages.
@source '../../../../vendor/smartcms/model-translate/resources/**/*.blade.php';
You can publish and run the migrations with:
php artisan vendor:publish --tag="model-translate-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="model-translate-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="model-translate-views"
This is the contents of the published config file:
return [
];
$modelTranslate = new SmartCms\ModelTranslate();
echo $modelTranslate->echoPhrase('Hello, SmartCms!');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.