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
- dev-master
- v1.0.3
- v1.0.2
- 1.0.1
- 1.0.0
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/tar-4.4.19
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/mixin-deep-1.3.2
This package is auto-updated.
Last update: 2024-11-06 05:44:23 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