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 →
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article
Statamic Mailables Viewer Previews Laravel Emails in the Control Panel image

Statamic Mailables Viewer Previews Laravel Emails in the Control Panel

Read article
Laravel Tackle: Run an AI Coding Agent in Your Laravel App image

Laravel Tackle: Run an AI Coding Agent in Your Laravel App

Read article
Queue::forward(): Reroute Laravel Queues in One Place image

Queue::forward(): Reroute Laravel Queues in One Place

Read article
Laravel Read-Through Filesystem: Lazy Storage Migration image

Laravel Read-Through Filesystem: Lazy Storage Migration

Read article