PHP code example of szymondukla / holiday-api-wrapper

1. Go to this page and download the library: Download szymondukla/holiday-api-wrapper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

szymondukla / holiday-api-wrapper example snippets




use SzymonDukla\HolidayApi\HolidayApi;
$handle->getHolidays('PL')
        
                                       YYYY  MM  DD
$holidays = $handle->getHolidays('US', 2021, 12, 06)

holidayapi-wrapper
├── .gitignore
├── README.md
├── HolidayApi.php
└── composer.json