Download the PHP package expdev07/laravel-cashier-stripe-connect without Composer
On this page you can find all versions of the php package expdev07/laravel-cashier-stripe-connect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download expdev07/laravel-cashier-stripe-connect
More information about expdev07/laravel-cashier-stripe-connect
Files in expdev07/laravel-cashier-stripe-connect
Package laravel-cashier-stripe-connect
Short Description Adds Stripe Connect functionality to Laravel's main billing package, Cashier.
License MIT
Informations about the package laravel-cashier-stripe-connect
laravel-cashier-stripe-connect
Newer Package Available
A more comprehensive package is now available, built upon this package so can be upgraded to from this package, it offers multi-model, multi-tenancy support, UUID support and the following features:
- Multi Model support - Previously only supported the User model, now any model can have the Connect Billable trait added to it and immediately inherit functionality.
- Tenancy for Laravel Support (Multi Tenant SaaS Plugin)
- Manage connected account onboarding
- Direct Charges
- Destination Charges
- Connected account customer management (Direct Customers)
- Connected account payment method management
- Connected account subscriptions ( Direct Subscriptions )
- Connected account product & price management
- Connect Webhook Support (On behalf of connected accounts)
- Connected Account Apple Pay Domain Registering
Click here to access the new package
As a result of the new package, this package will no longer be maintained.
💲 Adds Stripe Connect functionality to Laravel's main billing package, Cashier. Simply works as a drop-in on top of Cashier, with no extra configuration.
Installation
- Enable Stripe Connect in your dashboard settings.
- Install Cashier:
composer require laravel/cashier
. - Install package:
composer require expdev07/laravel-cashier-stripe-connect
. - Run migrations:
php artisan migrate
. - Configure Stripe keys for Cashier: Cashier Docs.
Note: the package will not work as intended if you do not install Laravel's official Cashier package first.
Use
The library builds on the official Cashier library, so getting up and started is a breeze.
Setup model
Add the Billable
traits to your model. You can use them individually or together. You can also create your own Billable
trait and put them together there. In
addition, the model should also implement the StripeAccount
interface.
Create controller
Create a controller to manage on-boarding process. The example below registers an Express account for the user.
Example
License
Please refer to LICENSE.md for this project's license.
Contributors
This list only contains some of the most notable contributors. For the full list, refer to GitHub's contributors graph.
- ExpDev07 (Marius) - creator and maintainer.
- Haytam Bakouane (hbakouane) - contributor.
Thanks to
Taylor Otwell for his amazing framework and all the contributors of Cashier.