PHP code example of offchaindata / holiday-oracle-php
1. Go to this page and download the library: Download offchaindata/holiday-oracle-php 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/ */
offchaindata / holiday-oracle-php example snippets
public function holidays($country, $year, array $options = [])
fChainData\HolidayOracle\Client;
$client = new Client('INSERT API TOKEN');