php-bitpay-client/examples/ConfigurationWithYamlFile.php

11 lines
310 B
PHP

<?php
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');