agj/nova-translations

A Laravel Nova tool.

Installs: 59

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 20

pkg:composer/agj/nova-translations


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