Skip to content

A card for Laravel Nova, which checks whether an update is available with NovaWat.ch.

License

Notifications You must be signed in to change notification settings

Muetze42/nova-watch-card

Repository files navigation

NovaWat.ch Card

A card for Laravel Nova, which checks whether an update is available with NovaWat.ch.

Preview

Installation

composer require norman-huth/nova-watch-card

Usage

Basic usage.

    public function cards(): array
    {
        return [
            new \NormanHuth\NovaWatchCard\NovaWatchCard(),
        ];
    }

Check Specific Version

    public function cards(): array
    {
        return [
            new \NormanHuth\NovaWatchCard\NovaWatchCard('4.29.0'),
        ];
    }

Add A Heading

    public function cards(): array
    {
        return [
            new \NormanHuth\NovaWatchCard\NovaWatchCard()
                ->setHeading('Customer 3'),
        ];
    }

Optional: Publish Translations

php artisan vendor:publish --tag=nova-watch-card-translations