abivia/plaid is a Laravel package for plaid for laravel.
It currently has 20 GitHub stars and 1.372 downloads on Packagist (latest version 1.0.2).
Install it with composer require abivia/plaid.
Discover more Laravel packages by abivia
or browse all Laravel packages to compare alternatives.
Last updated
A fluent Laravel package for Plaid (https://plaid.com).
Inspired by tomorrowideas/plaid-sdk-php
Supported features:
For full description of requests/responses, please see the official Plaid API docs. Note that all Plaid responses are converted to camel case.
Via composer:
composer require abivia/plaid
Set Plaid credentials in your environment. The default environment is "production". You only need to provide secrets for the environments you are using.
PLAID_ENVIRONMENT=sandbox
PLAID_CLIENT_ID=your_client_id
PLAID_DEVELOPMENT_SECRET=dev_secret
PLAID_PRODUCTION_SECRET=prod_secret
PLAID_SANDBOX_SECRET=sandbox_secret
$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')
);
Note: feature tests require valid credentials and Plaid may return a 400 error with a PRODUCT_NOT_READY error code. In this event the test will end with a warning status.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Security issues should be sent by email to [email protected].
Based on original work by TomorrowIdeas and Brent Scheffler
The MIT License (MIT). Please see License File for more information.
If you're getting something out of Plaid, you can sponsor us in any amount you wish using Liberapay
.
Liberapay is itself run on donations and charges no fees beyond bank charges.