Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 2.04 KB

README.md

File metadata and controls

58 lines (39 loc) · 2.04 KB

Laravel package for the Open Holiday API

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.