overtrue/laravel-payment
A Laravel payment integration package that provides a unified API for Alipay and WeChat Pay. It simplifies configuring credentials, creating payments, handling callbacks, and supporting common scenarios like web, app, and QR payments—ideal for adding Chinese payment gateways to Laravel apps.
overtrue/laravel-payment is a thin Laravel service-provider/facade wrapper around League Omnipay: config-driven gateway construction, a Payment facade, default-gateway precedence, gateway instance caching, and array-to-setter option expansion. 4.0.0 is a platform-modernization major, not a feature release. The package's public surface is explicitly preserved (gateway names, alias, facade, option expansion, default precedence, caching, unchanged factory), so the risk is concentrated in the dependency floor rather than in API churn.
Architecture fit
config/payment.php via DI + facade. It is glue, not a payment domain layer — it does not own idempotency, webhooks, reconciliation, retries, or PCI scope.Integration feasibility
Technical risk
Key questions
PaymentGateway interface, or is Payment:: called ad hoc across the codebase?Stack fit
Migration path
Compatibility
config/payment.php should carry over unchanged.null/empty gateway names (now permitted, previously failing loudly), and any option array that relied on nested expansion (must now be wrapped in an outer array).Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?