Download the PHP package joel-depiltech/codeigniter-holidayapi without Composer
On this page you can find all versions of the php package joel-depiltech/codeigniter-holidayapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joel-depiltech/codeigniter-holidayapi
More information about joel-depiltech/codeigniter-holidayapi
Files in joel-depiltech/codeigniter-holidayapi
Package codeigniter-holidayapi
Short Description CodeIgniter third-party library deals with Holiday API based on official PHP library
License MIT
Homepage https://github.com/joel-depiltech/codeigniter-holidayapi
Informations about the package codeigniter-holidayapi
CodeIgniter Holiday API
CodeIgniter third-party library deals with Holiday API based on official PHP library .
Installation
Note that following steps assume that you have correctly installed Composer and configured CodeIgniter on your server.
Please use Composer to install it and include it as a third-party package in your CodeIgniter application.
composer require joel-depiltech/codeigniter-holidayapi
-
Make sure you already use Composer auto-loader in your config file (application/config/config.php)
-
Include this package with Loader library
-
Include this library with Loader library
- Configure your api keys in config file (config/holidayapi.php)
Usage
Simple call
By default, fetch all holidays of this year for USA :
Complete call
A example to fetch all upcoming holidays for France from Christmas to end of 2018 with a specific API key :
All versions of codeigniter-holidayapi with dependencies
joshtronic/php-holidayapi Version ^1.0
composer/installers Version ^1.4