You can install the package in to a Laravel app that uses Nova via composer:
composer require radermacher/nova-current-environment-card
Next up, you must register the card with Nova. This is typically done in the cards
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvider.php
// ...
public function cards()
{
return [
// ...
new \Radermacher\NovaCurrentEnvironmentCard\NovaCurrentEnvironmentCard,
];
}
Publish the package language files to your application's resources/lang/vendor
directory:
php artisan vendor:publish --provider="Radermacher\NovaCurrentEnvironmentCard\CardServiceProvider"
The MIT License (MIT). Please see License File for more information.