yansongda/laravel-pay
yansongda/laravel-pay 是 Laravel/Lumen 的聚合支付扩展,基于 yansongda/pay,支持支付宝、微信、抖音支付、江苏银行(e融支付)等。提供 Facade 调用与统一配置,快速创建订单、发起网页/公众号/小程序等支付。
Adopt if:
Look elsewhere if:
Problem:
"We’re missing $X in revenue from China due to lack of Alipay/WeChat Pay support. Competitors like [X] are converting 30% faster with localized payments."
Solution:
"Leverage yansongda/laravel-pay to integrate 4 major Chinese payment gateways in <2 weeks (vs. 6+ months to build). MIT-licensed, battle-tested (1.1K stars), and reduces fraud risk with built-in signature verification."
ROI:
Risk Mitigation:
"Open-source, community-driven (active issues/PRs). We’ll add SOC2 compliance checks and monitor uptime for Alipay/WeChat."
Why This Package?
Unified Interface:
Pay::alipay()->web($order)) for all gateways (Alipay, WeChat, Douyin, JSB).config/laravel-pay.php).Security:
Extensibility:
Pay::alipay()->notify() (async settlement).Pay::extend('custom', CustomGateway::class).Performance:
cache/ to avoid DB hits.Migration Path:
Alternatives Rejected:
sign_type quirks).Next Steps:
Pay::exception() events.How can I help you explore Laravel packages today?