radermacher / nova-current-environment-card
A Laravel Nova card to see current environment.
Installs: 26 454
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 0
Open Issues: 0
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.