agj / nova-translations
A Laravel Nova tool.
v1.0.3
2020-04-10 18:37 UTC
Requires
- php: >=7.1.0
- spatie/laravel-translatable: ^4.3.1
This package is auto-updated.
Last update: 2026-06-06 09:03:26 UTC
README
Translation Tool for Nova
Installation
composer require agj/nova-translations
Insert the following line in the App\Providers\NovaServiceProvider:
use Agj\NovaTranslations\NovaTranslations;
class NovaServiceProvider extends NovaApplicationServiceProvider
{
...
/**
* Get the tools that should be listed in the Nova sidebar.
*
* @return array
*/
public function tools()
{
return [
new NovaTranslations,
];
}
...
}
And in the config/app.php providers array:
Agj\NovaTranslations\TranslationServiceProvider::class,
And then execute the following migrate command:
php artisan migrate