radermacher / nova-current-environment-card
A Laravel Nova card to see current environment.
Package info
github.com/radermacher/nova-current-environment-card
pkg:composer/radermacher/nova-current-environment-card
2.0.0
2019-08-25 17:43 UTC
Requires
- php: >=7.1.0
- laravel/nova: >=2.1
README
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.
