PHPackages                             snlbaral/coinbase-api-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. snlbaral/coinbase-api-php

ActiveLibrary[API Development](/categories/api)

snlbaral/coinbase-api-php
=========================

Coinbase API for PHP.

1.0.1(5y ago)0171BSD-3-ClausePHP

Since Feb 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/snlbaral/coinbase-api-php)[ Packagist](https://packagist.org/packages/snlbaral/coinbase-api-php)[ Docs](https://github.com/snlbaral/coinbase-api-php)[ RSS](/packages/snlbaral-coinbase-api-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

coinbase-api-php
================

[](#coinbase-api-php)

[![Latest Stable Version](https://camo.githubusercontent.com/86c880e437599e61acd75d5521bb60966a9aac509abb845626082bcd7e007691/68747470733a2f2f706f7365722e707567782e6f72672f736e6c626172616c2f636f696e626173652d6170692d7068702f76)](//packagist.org/packages/snlbaral/coinbase-api-php) [![Total Downloads](https://camo.githubusercontent.com/5db42a47054e240be59e2bc8fb90c9be74f729d111602365db304d54d74c663c/68747470733a2f2f706f7365722e707567782e6f72672f736e6c626172616c2f636f696e626173652d6170692d7068702f646f776e6c6f616473)](//packagist.org/packages/snlbaral/coinbase-api-php) [![Latest Unstable Version](https://camo.githubusercontent.com/a681f480a8f44cf64c686b7da920b507657edcf68a12d24981363bb121f5b284/68747470733a2f2f706f7365722e707567782e6f72672f736e6c626172616c2f636f696e626173652d6170692d7068702f762f756e737461626c65)](//packagist.org/packages/snlbaral/coinbase-api-php) [![License](https://camo.githubusercontent.com/f8d4e5be8d37011726c4bbfc2f0d4314b0f0f50bc0f3a0b925817ebff6356022/68747470733a2f2f706f7365722e707567782e6f72672f736e6c626172616c2f636f696e626173652d6170692d7068702f6c6963656e7365)](//packagist.org/packages/snlbaral/coinbase-api-php)

This is an open source library that allows PHP applications to interact programmatically with the [COINBASE CONNECT (OAUTH2)](https://developers.coinbase.com/docs/wallet/coinbase-connect).

Requirements
------------

[](#requirements)

Using this library for PHP requires the following:

- \[Composer\]\[composer\] or a manual install of the dependencies mentioned in `composer.json`.

Installation
------------

[](#installation)

The recommended way to install it PHP is to install it using \[Composer\]\[composer\]:

```
composer require snlbaral/coinbase-api-php
```

Quick start
-----------

[](#quick-start)

Create an OAuth2 Application. Once created, your application is assigned with ***Client ID***, ***Client secret***. Once you have a *Redirect URI*, a *Client ID*, and a *Client Secret*, your web application can start using this library by following these steps. **Warning: *Client Secrets* are similar to passwords or private keys by allowing an application to identify as yours: therefore, *Client Secrets* should be kept private.**

### Step 1: create your configuration

[](#step-1-create-your-configuration)

#### `config.php`

[](#configphp)

```
