PHPackages                             arthurnassar/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. arthurnassar/laravel-stripe-connect

ActiveLibrary[Payment Processing](/categories/payments)

arthurnassar/laravel-stripe-connect
===================================

v0.4.6(1y ago)0150MITPHP

Since Nov 24Pushed 1y agoCompare

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

READMEChangelog (4)Dependencies (4)Versions (23)Used By (0)

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

[](#laravel-stripe-connect)

This is a fork of [simonhamp/laravel-stripe-connect](https://github.com/simonhamp/laravel-stripe-connect)by Simon Hamp ([@simonhamp](https://github.com/simonhamp)).

*This fork is meant for personal usage only*

Tip

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

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

[](#installation)

Install via Composer:

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

```

Add your Stripe credentials in `.env`:

```
STRIPE_KEY=pk_test_XxxXXxXXX
STRIPE_SECRET=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 SimonHamp\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

32

—

LowBetter than 72% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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

Every ~128 days

Recently: every ~31 days

Total

20

Last Release

649d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3edc34a7743d50c94800424644149099678fa9fb8d50b0e213a4dea87d5eb6cd?d=identicon)[arthurnassar](/maintainers/arthurnassar)

---

Top Contributors

[![rap2hpoutre](https://avatars.githubusercontent.com/u/1575946?v=4)](https://github.com/rap2hpoutre "rap2hpoutre (32 commits)")[![arthurnassar](https://avatars.githubusercontent.com/u/98289378?v=4)](https://github.com/arthurnassar "arthurnassar (16 commits)")[![simonhamp](https://avatars.githubusercontent.com/u/31628?v=4)](https://github.com/simonhamp "simonhamp (15 commits)")[![vool](https://avatars.githubusercontent.com/u/441840?v=4)](https://github.com/vool "vool (1 commits)")

---

Tags

laravelstripebilling

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/arthurnassar-laravel-stripe-connect/health.svg)](https://phpackages.com/packages/arthurnassar-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)
