PHPackages                             40katty04/plaid-api-php-client - 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. 40katty04/plaid-api-php-client

ActiveLibrary[API Development](/categories/api)

40katty04/plaid-api-php-client
==============================

PHP API Client for Plaid.com

v1.2.0(4y ago)0381MITPHPPHP &gt;=7.1.0

Since Jan 27Pushed 4y agoCompare

[ Source](https://github.com/40katty04/plaid-api-php-client)[ Packagist](https://packagist.org/packages/40katty04/plaid-api-php-client)[ RSS](/packages/40katty04-plaid-api-php-client/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)DependenciesVersions (13)Used By (0)

plaid-api-php-client
====================

[](#plaid-api-php-client)

PHP Client for the [plaid.com](https://plaid.com) API

This is a PHP port of the official [python client](https://github.com/plaid/plaid-python) library for the Plaid API

Table of Contents
-----------------

[](#table-of-contents)

- [Install](#install)
- [Documentation](#documentation)
- [Examples](#examples)

Install
-------

[](#install)

```
$ composer require 40katty04/plaid-api-php-client
```

Documentation
-------------

[](#documentation)

The module supports only a select few Plaid API endpoints at the moment. For complete information about the Plaid.com API, head to the [Plaid Documentation](https://plaid.com/docs/api).

Examples
--------

[](#examples)

### Exchange a public token for an access token

[](#exchange-a-public-token-for-an-access-token)

Exchange a `public_token` from [Plaid Link](https://github.com/plaid/link) for a Plaid access token:

```
$clientId = '*****';
$secret = '*****';
$publicKey = '*****';
$publicToken = '';

// Available environments are 'sandbox', 'development', and 'production'
$client = new Client($clientId, $secret, $publicKey, 'sandbox');
$response = $client->item()->publicToken()->exchange($publicToken);
$accessToken = $response['access_token'];
```

### Retrieve Transactions

[](#retrieve-transactions)

```
$response = $client->transactions()->get($accessToken, '2018-01-01', '2018-01-31');
$transactions = $response['transactions'];
```

### Asset Reports

[](#asset-reports)

There are multiple steps to retrieving an Asset Report.

1. [Create](#create-an-asset-report) the report
2. [Filter](#filter-an-asset-report) unwanted accounts out of report
3. [Retrieve](#retrieve-an-asset-report) the report as JSON or PDF
4. [Refresh](#refresh-an-asset-report) a previously created or filtered report
5. [Remove](#remove-an-asset-report) a report

Create an Asset Report
----------------------

[](#create-an-asset-report)

```
// an array of previously generated access_tokens
$accessTokens = [''];
$daysRequested = 180;
// all of these are optional
$options = [
  'client_report_id' => 'client->assetReport()->refresh($assetReportToken, $daysRequested, $options);
```

#### Refresh Asset Report Response

[](#refresh-asset-report-response)

```
{
  "asset_report_id": "",
  "asset_report_token": "",
  "request_id": ""
}
```

### Remove an Asset Report

[](#remove-an-asset-report)

```
$response = $this->client->assetReport()->remove($assetReportToken);
```

#### Remove Asset Report Response

[](#remove-asset-report-response)

```
{
  "removed": true,
  "request_id": ""
}
```

License
-------

[](#license)

[MIT](https://github.com/dpods/plaid-api-php-client/blob/master/LICENSE)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~133 days

Recently: every ~3 days

Total

12

Last Release

1568d ago

Major Versions

0.5.0 → v1.0.12022-01-19

PHP version history (3 changes)0.1.0PHP &gt;=5.3.0

v1.0.1PHP &gt;=7.3.0

1.1.1PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/75504df74c79d5f727500e918972c58f68126a393eb0e9604702193542b50217?d=identicon)[40katty04](/maintainers/40katty04)

---

Top Contributors

[![40katty04](https://avatars.githubusercontent.com/u/38152697?v=4)](https://github.com/40katty04 "40katty04 (4 commits)")[![pepsikus](https://avatars.githubusercontent.com/u/35575554?v=4)](https://github.com/pepsikus "pepsikus (2 commits)")[![tcshields](https://avatars.githubusercontent.com/u/5664888?v=4)](https://github.com/tcshields "tcshields (2 commits)")[![gborcherds](https://avatars.githubusercontent.com/u/7691166?v=4)](https://github.com/gborcherds "gborcherds (1 commits)")

### Embed Badge

![Health badge](/badges/40katty04-plaid-api-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/40katty04-plaid-api-php-client/health.svg)](https://phpackages.com/packages/40katty04-plaid-api-php-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
