pdmfc/nova-info-card

A Laravel Nova info card.


Keywords
package, nova, laravel
License
MIT

Documentation

A simple Nova info card

Installation

composer require pdmfc/nova-info-card

Usage


use Pdmfc\InfoCard;

//...

public function cards()
{
    return [
        (new InfoCard())
            ->info('Some info message')
    ];
}

Available methods

->info($message)
->success($message)
->warning($message)
->danger($message)

Example