Skip to content

radermacher/nova-current-environment-card

Repository files navigation

Current Environment Card for Nova

Latest Version on Packagist Total Downloads

nova-current-environment-card

Installation

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,
    ];
}

Localization

Publish the package language files to your application's resources/lang/vendor directory:

php artisan vendor:publish --provider="Radermacher\NovaCurrentEnvironmentCard\CardServiceProvider"

Credits

License

The MIT License (MIT). Please see License File for more information.