engyahmed7/laravel-plaid
Composer 安装命令:
composer create-project engyahmed7/laravel-plaid
包简介
The skeleton application for the Laravel framework.
关键字:
README 文档
README
A robust and secure integration between Laravel, Plaid API, and Stripe API, enabling users to link bank accounts, process card or ACH payments, and transfer payouts to car owners.
System Flow
1. Card Payments (Pay-In via Stripe)
sequenceDiagram
participant Customer
participant Laravel
participant Stripe
Customer->>Laravel: Provide Card Info
Laravel->>Stripe: Create Payment Method (Card)
Stripe-->>Laravel: Payment Method ID
Laravel->>Stripe: Create Payment Intent
Stripe-->>Laravel: Payment Confirmation
Laravel-->>Customer: Payment Success
Loading
2. Bank Account Pay-In (Plaid + Stripe ACH Debit)
sequenceDiagram
participant User
participant Laravel
participant Plaid
participant Stripe
User->>Laravel: Request Plaid Link Token
Laravel->>Plaid: POST /link/token/create
Plaid-->>Laravel: Link Token
Laravel-->>User: Return Link Token
User->>Plaid: Select Bank & Authenticate
Plaid-->>User: Public Token
User->>Laravel: Send Public Token
Laravel->>Plaid: Exchange Public Token for Access Token & Account Info
Plaid-->>Laravel: Bank Account Details
Laravel->>Stripe: Create Bank Account Payment Method
Stripe-->>Laravel: Payment Method ID
Laravel->>Stripe: Create Payment Intent (ACH Debit)
Loading
3. Merchant Payout to Car Owners (Stripe Payout)
sequenceDiagram
participant Merchant
participant Laravel
participant Stripe
participant CarOwner
Laravel->>Stripe: Create Connected Account for Car Owner
Laravel->>Stripe: Initiate Payout
Stripe-->>CarOwner: Funds Deposited to Bank
Loading
Key Features
-
Plaid Integration for secure bank account linking
-
Stripe Pay-In with:
- Credit/Debit cards
- ACH debits via Plaid-linked bank accounts
-
Stripe Payouts to car owners’ bank accounts
-
Transaction Management Dashboard
-
Secure API-first architecture
-
Responsive UI built with BootstrapCSS
Prerequisites
- PHP 8.1+
- Composer
- Node.js 16+
- MySQL 5.7+
- Plaid API credentials
- Stripe API keys (secret & publishable)
Installation
- Clone the repository:
git clone https://github.com/engyahmed7/laravel-plaid-to-stripe-payments.git
cd laravel-plaid-to-stripe-payments
- Install PHP dependencies:
composer install
- Install JavaScript dependencies:
npm install npm run dev
- Create environment file:
cp .env.example .env
- Generate application key:
php artisan key:generate
- Configure environment variables in
.env:
DB_DATABASE=your_database_name DB_USERNAME=your_db_username DB_PASSWORD=your_db_password PLAID_CLIENT_ID=your_plaid_client_id PLAID_SECRET=your_plaid_secret PLAID_ENV=sandbox # or development/production STRIPE_KEY=your_stripe_publishable_key STRIPE_SECRET=your_stripe_secret_key
- Run migrations:
php artisan migrate
Usage
Card Pay-In
- Create a Stripe customer
- Add a payment method (card)
- Create a payment intent to charge the customer
Bank Account Pay-In via Plaid
- Use Plaid Link to connect a bank account
- Exchange the public token for bank account info
- Create a Stripe payment method of type
us_bank_account - Create a Stripe payment intent to debit the bank account
Payout to Car Owners
- Create a Stripe connected account for the owner
- Initiate payout using
Stripe::payouts->create()
Development Notes
⚠️ This project uses Plaid’s Sandbox Environment and Stripe test mode by default for development and testing.
For production deployment, follow these steps:
- Replace sandbox credentials with production keys
- Set
PLAID_ENV=productionin.env - Complete Plaid's production onboarding process
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add some amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request with a clear description
Learn More
For detailed documentation, visit:
engyahmed7/laravel-plaid 适用场景与选型建议
engyahmed7/laravel-plaid 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 07 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 engyahmed7/laravel-plaid 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 engyahmed7/laravel-plaid 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 engyahmed7/laravel-plaid 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Alfabank REST API integration
High-performance, opinionated PHP 8 web framework with O(1) routing, parallel async MySQL, type-safe asset bridge, and React-island frontend
Laravel package for Accurate Online API integration.
The skeleton application for the Geoffrey agent framework.
Shared RCX Laravel DataTables UI and configuration helpers.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-20