noahnxt/laravel-open-holiday-api

A Laravel wrapper for the Open Holidays API

0.0.5 2023-12-20 11:17 UTC

This package is auto-updated.

Last update: 2024-04-29 19:46:21 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.