lanos/laravel-cashier-stripe-connect 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lanos/laravel-cashier-stripe-connect

Composer 安装命令:

composer require lanos/laravel-cashier-stripe-connect

包简介

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

README 文档

README

Cashier For Connect

Help me to keep helping you.

Working on open source packages and helping other developers is my true passion, unfortunately I have to work in order to pay bills. The more people that help me out, the more time I can spend building cool packages and supporting developers. It doesn't have to be much, just a cup of coffee's worth. It's all appreciated!

ko-fi

Documentation has been updated to cover the new features introduced in 1.2.2.

V1.3.0 Update (Cashier 16)

This update brings compatibility with Laravel Cashier 16.x which introduces support for Stripe's new metered billing API (Stripe Billing Meters). Changes include:

  • Support for Laravel Cashier ^16.0
  • Added new columns to the connected_subscription_items table: meter_event_name and meter_id
  • Compatibility with Stripe API version 2025-07-30.basil

To upgrade, run:

composer update
php artisan vendor:publish --tag="migrations"
php artisan migrate

Important Note: After deploying this update, remember to update your Stripe API version in your Stripe dashboard to 2025-07-30.basil to take full advantage of the new features.

V1.2.3 Update

This update bring new functionality for users wishing to use payment links with their connected accounts:

  • Create both Direct and Destination payment links, including using "on behalf of".
  • Utilise both percentage and fixed application fees on payment links
  • Retrieve all direct payment links for a connected account
    • Note: It's difficult and impractical to retrieve all destination payment links as they are currently not filterable by connected account directly on the Stripe API, i've requested they add this in, if they do i'll update the plugin. Until then if you want to store and return them to your users, you need to store a copy locally on your application database.

V1.2.0 Update

This update bring new functionality for users wishing to use both physical terminals and the new Apple/Android tap to pay functionality. It will facilitate the use of:

  • Adding terminal locations
  • Adding a reader and associating it with a terminal
  • Handling connection token requests

V1.1.0 Update (Cashier 15)

The Cashier 15 update brought about a few changes to the package. These include:

  • Migrations no longer auto publish, you must now publish them using the command stated in the GitBook readme.
    • Any use of ignoreMigrations() in your code can be and should be safely removed
  • Stripe API Version is now 2023-10-16, changes have been made to accommodate this

Intro

This package is designed to seamlessly connect all of your eloquent models, mapping them to the relevant stripe entities in order to make a marketplace or payments platform.

Installation

After installing the package via Composer, you can publish the configuration file to customize the package settings:

php artisan vendor:publish --provider="Lanos\CashierConnect\CashierConnectServiceProvider" --tag="config"

This will create a cashierconnect.php file in your config directory.

You can also publish the migrations:

php artisan vendor:publish --provider="Lanos\CashierConnect\CashierConnectServiceProvider" --tag="migrations"

Or publish everything at once (config and migrations):

php artisan vendor:publish --provider="Lanos\CashierConnect\CashierConnectServiceProvider"

Documentation

We now have a dedicated docs page for this plugin. You can view it here.

We now roughly support webhooks (Due to flexible nature of connect, you will need to declare handlers yourself) - Follow our guide!

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 of the original package
  • Haytam Bakouane (hbakouane) - Contributor to original package.
  • Robert Lane (Me) - Creator of the new package

Thanks to

Taylor Otwell for his amazing framework and all the contributors of Cashier.

lanos/laravel-cashier-stripe-connect 适用场景与选型建议

lanos/laravel-cashier-stripe-connect 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 163.93k 次下载、GitHub Stars 达 85, 最近一次更新时间为 2022 年 10 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「stripe」 「laravel」 「billing」 「stripe-connect」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 lanos/laravel-cashier-stripe-connect 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 lanos/laravel-cashier-stripe-connect 我们能提供哪些服务?
定制开发 / 二次开发

基于 lanos/laravel-cashier-stripe-connect 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 163.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 85
  • 点击次数: 17
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 85
  • Watchers: 3
  • Forks: 41
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-14