Download the PHP package seegno/bitreserve-sdk-php without Composer

On this page you can find all versions of the php package seegno/bitreserve-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bitreserve-sdk-php

Uphold SDK for PHP

Latest Version Build Status Code Climate Test Coverage License

Uphold is a next generation money service business that shields you from bitcoin volatility by enabling you to hold bitcoin as the money you use every day.

The Uphold SDK for PHP provides an easy way for developers to integrate PHP applications with the Uphold API.

Requirements

Installation

Standalone

Grab the latest version of the library:

$ git clone https://github.com/seegno/uphold-sdk-php.git

Install composer:

$ curl -s https://getcomposer.org/installer | php

Install the library dependencies:

$ php composer.phar install

Require the autoloader file generated by composer:

Integrating with another project using composer

Require the library package as a dependency:

Basic usage

In order to learn more about the Uphold API, please check out the API documentation.

First, create a Personal Access Token (PAT) using the command described below.

Create a Personal Access Token

$ php lib/Uphold/console.php tokens:create

Then, create a new instance of the Client class with token. Take a look at the following examples and explore more on the examples directory.

Authorize user

Get authenticated user

Get user balances

You could get user total balance:

The above produces the output shown below:

Get user cards

Create new card

The above produces the output shown below:

Get rates

Or you could get rates for a specific currency:

The above produces the output shown below:

Create and commit a new transaction

The above produces the output shown below:

Get all public transactions

Or you could get a specific public transaction:

Get reserve status

Pagination

Some endpoints will return a paginator. Here is some examples on how you can handle it.

Tests

Run the tests from the root directory:

$ ./vendor/bin/phpunit

You can find PHPUnit documentation here.

Contributing & Development

Contributing

Found a bug or want to suggest something? Take a look first on the current and closed issues. If it is something new, please submit an issue.

Develop

It will be awesome if you can help us evolve uphold-sdk-php. Want to help?

  1. Fork it.
  2. php composer.phar install.
  3. Hack away.
  4. Run the tests: phpunit.
  5. Create a Pull Request.

All versions of bitreserve-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
ext-curl Version *
guzzlehttp/guzzle Version ~5.1
symfony/console Version ~2.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package seegno/bitreserve-sdk-php contains the following files

Loading the files please wait ....