PHPackages                             engyahmed7/laravel-plaid - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. engyahmed7/laravel-plaid

ActiveProject[Framework](/categories/framework)

engyahmed7/laravel-plaid
========================

The skeleton application for the Laravel framework.

1.0.0(9mo ago)11MITPHPPHP ^8.2

Since Jul 20Pushed 6mo agoCompare

[ Source](https://github.com/engyahmed7/laravel-plaid-to-stripe-payments)[ Packagist](https://packagist.org/packages/engyahmed7/laravel-plaid)[ RSS](/packages/engyahmed7-laravel-plaid/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (10)Versions (2)Used By (0)

Laravel Plaid + Stripe Integration Project
==========================================

[](#laravel-plaid--stripe-integration-project)

> 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.

[![Laravel](https://camo.githubusercontent.com/5dd8bdc3a30c776147466951b6127e2beb7360b418d1c4eae163b8349315fe1f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d7265643f7374796c653d666c61742d737175617265266c6f676f3d6c61726176656c)](https://camo.githubusercontent.com/5dd8bdc3a30c776147466951b6127e2beb7360b418d1c4eae163b8349315fe1f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d7265643f7374796c653d666c61742d737175617265266c6f676f3d6c61726176656c) [![Plaid](https://camo.githubusercontent.com/fe598dfb37a9a87eb5902ffa74bbe23ab6b9cc217ec350dabd38ce9b05c51798/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506c6169642d53616e64626f782d626c75653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/fe598dfb37a9a87eb5902ffa74bbe23ab6b9cc217ec350dabd38ce9b05c51798/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506c6169642d53616e64626f782d626c75653f7374796c653d666c61742d737175617265) [![Stripe](https://camo.githubusercontent.com/e84c06bb0680f21837662d03b0536b560c4c07ab1f8645bed4eee73712b03ae7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374726970652d496e746567726174696f6e2d707572706c653f7374796c653d666c61742d737175617265266c6f676f3d737472697065)](https://camo.githubusercontent.com/e84c06bb0680f21837662d03b0536b560c4c07ab1f8645bed4eee73712b03ae7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374726970652d496e746567726174696f6e2d707572706c653f7374796c653d666c61742d737175617265266c6f676f3d737472697065) [![PHP](https://camo.githubusercontent.com/9847427b3ad37d5f2f3122f63983977e1b0ab038e06a24272d8c4514725c11a0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75653f7374796c653d666c61742d737175617265266c6f676f3d706870)](https://camo.githubusercontent.com/9847427b3ad37d5f2f3122f63983977e1b0ab038e06a24272d8c4514725c11a0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75653f7374796c653d666c61742d737175617265266c6f676f3d706870)

---

System Flow
-----------

[](#system-flow)

### 1. **Card Payments (Pay-In via Stripe)**

[](#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)**

[](#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)**

[](#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
------------

[](#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
-------------

[](#prerequisites)

- **PHP** 8.1+
- **Composer**
- **Node.js** 16+
- **MySQL** 5.7+
- **Plaid API credentials**
- **Stripe API keys** (secret &amp; publishable)

---

Installation
------------

[](#installation)

1. Clone the repository:

```
git clone https://github.com/engyahmed7/laravel-plaid-to-stripe-payments.git
cd laravel-plaid-to-stripe-payments
```

2. Install PHP dependencies:

```
composer install
```

3. Install JavaScript dependencies:

```
npm install
npm run dev
```

4. Create environment file:

```
cp .env.example .env
```

5. Generate application key:

```
php artisan key:generate
```

6. 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
```

7. Run migrations:

```
php artisan migrate
```

---

Usage
-----

[](#usage)

### **Card Pay-In**

[](#card-pay-in)

1. Create a Stripe customer
2. Add a payment method (card)
3. Create a payment intent to charge the customer

### **Bank Account Pay-In via Plaid**

[](#bank-account-pay-in-via-plaid)

1. Use Plaid Link to connect a bank account
2. Exchange the public token for bank account info
3. Create a Stripe payment method of type `us_bank_account`
4. Create a Stripe payment intent to debit the bank account

### **Payout to Car Owners**

[](#payout-to-car-owners)

1. Create a Stripe connected account for the owner
2. Initiate payout using `Stripe::payouts->create()`

---

Development Notes
-----------------

[](#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:

1. Replace sandbox credentials with production keys
2. Set `PLAID_ENV=production` in `.env`
3. Complete Plaid's **production onboarding process**

---

Contributing
------------

[](#contributing)

Contributions are welcome! Please follow these steps:

1. Fork the repository
2. Create a feature branch:
    `git checkout -b feature/amazing-feature`
3. Commit your changes:
    `git commit -m 'Add some amazing feature'`
4. Push to the branch:
    `git push origin feature/amazing-feature`
5. Open a **Pull Request** with a clear description

---

Learn More
----------

[](#learn-more)

For detailed documentation, visit:

- [Plaid Docs](https://plaid.com/docs/)
- [Stripe Docs](https://stripe.com/docs)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance61

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

297d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e9d7c1566a463bfd4973179633badc94e45deb72c0f7178c6b3393dd5436226?d=identicon)[engyahmed7](/maintainers/engyahmed7)

---

Top Contributors

[![engyahmed7](https://avatars.githubusercontent.com/u/68815210?v=4)](https://github.com/engyahmed7 "engyahmed7 (12 commits)")

---

Tags

frameworklaravel

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/engyahmed7-laravel-plaid/health.svg)

```
[![Health](https://phpackages.com/badges/engyahmed7-laravel-plaid/health.svg)](https://phpackages.com/packages/engyahmed7-laravel-plaid)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v3 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.

401.5k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
