abivia/plaid
Composer 安装命令:
composer require abivia/plaid
包简介
Plaid for Laravel
README 文档
README
A fluent Laravel package for Plaid (https://plaid.com).
Inspired by tomorrowideas/plaid-sdk-php
Supported features:
- Accounts
- Assets
- Auth
- Balance
- Bank Transfers (US only)
- Identity
- Income
- Institutions
- Investments
- Items
- Liabilities
- Link tokens
- Payment Initiation (UK only)
- Processors (including Stripe & Dwolla)
- Sandbox
- Webhooks
Official Plaid API docs
For full description of requests/responses, please see the official Plaid API docs. Note that all Plaid responses are converted to camel case.
Requirements
- PHP 8.0+
- Laravel 8+
Installation
Via composer:
composer require abivia/plaid
Usage
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') );
Testing
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
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Security issues should be sent by email to foss@abivia.com.
Credits
Based on original work by TomorrowIdeas and Brent Scheffler
License
The MIT License (MIT). Please see License File for more information.
Donations welcome
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.
abivia/plaid 适用场景与选型建议
abivia/plaid 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.06k 次下载、GitHub Stars 达 20, 最近一次更新时间为 2022 年 02 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「plaid」 「abivia」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 abivia/plaid 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 abivia/plaid 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 abivia/plaid 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
General Ledger and Journal Accounting Package for Laravel with JSON API
Simple package for creating a Stripe Bank Account Token from a Plaid token.
General Ledger and Journal Accounting Package for Laravel with JSON API
Laravel specific wrapper for Plaid. Bankdata for developers.
PHP implementation of Plaid's API as an SDK.
PHP implementation of Plaid's API as an SDK.
统计信息
- 总下载量: 1.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-02-24