palpalani/us-holidays-card

U.S. Holidays for Laravel nova.

1.1.0 2024-05-07 09:07 UTC

This package is auto-updated.

Last update: 2024-11-08 16:38:18 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A Laravel Nova card that displays the list of upcoming USA holidays.

Requirements

PHP 8.2 or higher
Nova ^3.0 or higher

Installation

You can install the package via composer:

composer require palpalani/us-holidays-card

Usage

To add this card to the dashboard or resource add it to the cards method like this:

namespace App\Nova\Dashboards;

use palPalani\UsHolidaysCard;
use Laravel\Nova\Dashboard;

class Main extends Dashboard
{
    public function cards(): array
    {
        $cards = [
            new UsHolidaysCard(),
        ];
    }
}

Testing

composer test

Feedback

If you have any feedback, comments or suggestions, please feel free to open an issue within this repository.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Thanks to

Carbon Support for US Holidays, so many thanks to its author and contributors!

Credits

License

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