PHP code example of abivia / plaid

1. Go to this page and download the library: Download abivia/plaid library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

abivia / plaid example snippets


$token = Plaid::sandbox()->createPublicToken($myId, ['transactions'])->publicToken;
$accessToken = Plaid::items()->exchangeToken($token)->accessToken;
$transactions = Plaid::transactions()->list(
    $accessToken, Carbon::make('2022-01-01'), Carbon::make('2022-01-31')
);