PHP code example of travoltron / plaid
1. Go to this page and download the library: Download travoltron/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/ */
travoltron / plaid example snippets
Plaid::addAuthUser(username, password, pin, type);
$authUser = Plaid::addAuthUser('plaid_test', 'plaid_good', null, 'chase');
Plaid::authMfa(mfa, plaid_token, method);
$authMfa = Plaid::authMfa('1234', 'test_chase');
$getAuthData = Plaid::getAuthData($plaid_token);
$updateAuthUser = Plaid::updateAuthUser($username, $password, $pin = null, $plaid_token);
$deleteAuthUser = Plaid::deleteAuthUser($plaid_token);
$getConnectData = Plaid::getConnectData($plaid_token, 2015-01-01, 2016-03-15);
$balances = Plaid::getBalances($plaid_token);
$upgradeUser = Plaid::upgrade($plaid_token, $upgrade_to, $webhook = null);
$search = Plaid::search('bank of america');
$getCategories = Plaid::categories($id = null);
$getCategoryDetail = Plaid::categories('17001013');
$plaid_token = Plaid::exchangeToken($public_token);
bash
php artisan vendor:publish --provider="Travoltron\Plaid\PlaidServiceProvider" --tag="config"