PHPackages                             kayzer24/laravel-stripe-connect - 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. [Payment Processing](/categories/payments)
4. /
5. kayzer24/laravel-stripe-connect

ActiveLibrary[Payment Processing](/categories/payments)

kayzer24/laravel-stripe-connect
===============================

A set of tools to help integrating with Stripe Connect

0.0.1(5mo ago)017MITPHPPHP ^8.2

Since Nov 21Pushed 5mo agoCompare

[ Source](https://github.com/kayzer24/laravel-stripe-connect)[ Packagist](https://packagist.org/packages/kayzer24/laravel-stripe-connect)[ GitHub Sponsors](https://github.com/kayzer24)[ RSS](/packages/kayzer24-laravel-stripe-connect/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Stripe Connect
======================

[](#laravel-stripe-connect)

This is a maintained fork of [rap2hpoutre/laravel-stripe-connect](https://github.com/rap2hpoutre/laravel-stripe-connect)by Raphaël Huchet ([@rap2hpoutre](https://github.com/rap2hpoutre)).

With Laravel Stripe Connect, you can start your own marketplace platform using [Stripe Connect](https://stripe.com/connect)which allows you to make transfers to your recipients directly from your Stripe account to theirs.

Laravel Stripe Connect provides a starting point to help you get your users set up and connected to your Stripe account and start making payouts in no time.

Tip

This package assumes that your `User` model is what will represent recipients of transfers from your platform, however this can be changed.

Sponsorship
-----------

[](#sponsorship)

Laravel Stripe Connect is completely free to use for personal or commercial use. If it's making your job easier or you just want to make sure it keeps being supported and improved, I'd really appreciate your donations!

[Donate now via GitHub Sponsors](https://github.com/sponsors/kayzer24)

Thank you 🙏

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

[](#installation)

Install via Composer:

```
composer require kayzer24/laravel-stripe-connect

```

Add your Stripe credentials in `.env`:

```
STRIPE_PUBLISHABLE_KEY=pk_test_XxxXXxXXX
STRIPE_SECRET_KEY=sk_test_XxxXXxXXX

```

Run migrations:

```
php artisan migrate

```

Important

If you intend to use a table other than your `users` table to record your recipients' Stripe account details, publish the migration by running `php artisan vendor:publish` and select the appropriate options. You can then edit the published migration in your app's `database/migrations` folder.

Usage
-----

[](#usage)

Add the `Payable` trait to any model that you consider to represent your recipient.

```
use Kayzer24\LaravelStripeConnect\Traits\Payable;

class User extends Model
{
    use Payable;
```

Then you can use the convenient methods available to get your recipients to set up or connect their Stripe account to your platform.

Here's an example route that will get your user to go through the Stripe Connect onboarding flow:

```
Route::get('/connect', function () {
    if (! auth()->user()->getStripeAccountId()) {
        auth()->user()->createStripeAccount(['type' => 'express']);
    }

    if (! auth()->user()->isStripeAccountActive()) {
        return redirect(auth()->user()->getStripeAccountLink());
    }

    return redirect('dashboard');
})->middleware(['auth']);
```

Once a user's Stripe account is all connected and active, you can start creating transfers:

```
auth()->user()->transfer(10000, 'usd');
```

Note

Stripe expects amounts in the smallest denomination for the currency (in this case, cents), so the above is a transfer of US$100 to the logged-in user.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance70

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

172d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4834572c34082227ecd828471d51248ac5d84a7da0659c1e7cd18463f30702c4?d=identicon)[kayzer24](/maintainers/kayzer24)

---

Top Contributors

[![kayzer24](https://avatars.githubusercontent.com/u/5705736?v=4)](https://github.com/kayzer24 "kayzer24 (5 commits)")

---

Tags

laravelstripebilling

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kayzer24-laravel-stripe-connect/health.svg)

```
[![Health](https://phpackages.com/badges/kayzer24-laravel-stripe-connect/health.svg)](https://phpackages.com/packages/kayzer24-laravel-stripe-connect)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[lanos/laravel-cashier-stripe-connect

Adds Stripe Connect functionality to Laravel's main billing package, Cashier.

84138.9k](/packages/lanos-laravel-cashier-stripe-connect)[simonhamp/laravel-stripe-connect

1343.1k](/packages/simonhamp-laravel-stripe-connect)

PHPackages © 2026

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