noahnxt/laravel-open-holiday-api

A Laravel wrapper for the Open Holidays API

1.0.1 2024-09-03 17:30 UTC

This package is auto-updated.

Last update: 2024-11-03 17:46:30 UTC


README

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

A package to use the holidays API from the Open Holiday API. (Swagger)

Installation

You can install the package via composer:

composer require noahnxt/laravel-open-holiday-api

Usage

$holidayApi = new \NoahNxT\LaravelOpenHolidaysApi\OpenHolidaysApi();
$holidays = $holidayApi
    ->holidays()
    ->publicHolidays(
        'BE',
        'NL',
        '2023-01-01',
        '2023-12-31',
        'NL-BE'
        );

Testing

composer test

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.

Credits

License

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