DEV Community

loading...

Hello Dolly from WordPress to Laravel Nova

ángel
・1 min read

This is a simple package to show Hello Dolly song on your Laravel Nova dashboars

Installation

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

composer require abr4xas/nova-hello-dolly
Enter fullscreen mode Exit fullscreen mode

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 NovaHelloDolly,
    ];
}
Enter fullscreen mode Exit fullscreen mode

Discussion (0)