examples/ConfigurationWithYamlFile.php
<?php
/**
* Copyright (c) 2014-2015 BitPay
*/
require __DIR__ . '/../vendor/autoload.php';
/**
* You are able to keep the configuration values in a YML file which provides
* you the ability make some easy to use configuration files. You just need
* to pass in the path to the yml file.
*/
$bitpay = new \Bitpay\Bitpay(__DIR__ . '/config.yml');