Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
N

Environment Editor Card

Installation Instructions

You can install the package in to a Laravel app that uses Nova via composer:

composer require marianvlad/nova-env-card

Next up, you must register the card Nova. This is typically done in the cards method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php

// ...

public function cards()
{
    return [
        // ...
        new \Marianvlad\NovaEnvCard\NovaEnvCard,
    ];
}

Readme

Nova Environment Editor Card

Latest Version on Packagist Total Downloads

Edit Environment file inside a modal.

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require marianvlad/nova-env-card

Next up, you must register the card Nova. This is typically done in the cards method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php

// ...

public function cards()
{
    return [
        // ...
        (new \Marianvlad\NovaEnvCard\NovaEnvCard)->canSee(function ($request) {
        	return $request->user()->role == 'admin';
        })
    ];
}

License

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

Back to Top
Added 7 years ago
Last updated 7 Years Ago
Version v1.0.0
Nova Version *
Composer
marianvlad/nova-env-card
GitHub stars 7
Packagist downloads 10,867

Favorites

5 users favorited

Rating

3.30
(out of 5)
★★★★★
★★★★
★★★
★★
3 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas