-
Notifications
You must be signed in to change notification settings - Fork 85
Installation Composer
composer is the recommended way to install the SDK. Alternatively, if you prefer not to use Composer, but want to install our SDK, you can do so by doing a direct download
Currently, BlockCypher PHP Rest API SDK is available at https://packagist.org. To use it in your project, you need to include it as a dependency in your project composer.json file.
-
Download Composer if not already installed
-
Go to your project directory. If you do not have one, just create a directory and
cd
in.mkdir project cd project
-
Execute
composer require "blockcypher/php-client:*"
on command line. Replace composer with composer.phar if required. It should show something like this:> composer require "blockcypher/php-client:*" ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) - Installing blockcypher/php-client (v1.0.0) Loading from cache Writing lock file Generating autoload files
-
This is how your directory structure would look like. That's it. You have BlockCypher PHP SDK installed.
Getting Started
Using Our SDK
Configurations
Extras
External Links