Laravel Packages

Integrate Laravel with Stripe Connect Using This Package

Published
Integrate Laravel with Stripe Connect Using This Package image

Laravel Stripe Connect helps you start your own marketplace platform using Stripe Connect, which allows you to make payments to your recipients directly from your Stripe account to theirs. Using the provided package, you can quickly set up your application's users, connect them to your Stripe account, and start making payouts.

Using the Payable trait in this package, you can onboard users and then start sending them payments:

use SimonHamp\LaravelStripeConnect\Traits\Payable;
 
class User extends Model
{
use Payable;
}
 
// After onboarding, send the user $100.00 USD
auth()->user()->pay(10000, 'usd');

This package assumes that the User model represents the recipient, but the documentation outlines how to change the model used if a different model represents your recipients.

You can learn more about this package, get full installation instructions, and view the source code on GitHub. You must have a Stripe Connect account to get started, and you can learn more about Stripe Connect through the documentation.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article