A payment processing library can help make your eCommerce application-independent and well-equipped to handle multiple payment gateways. A PHP payment processing software enables multiple features like payment methods, secure authentication, integration with third-party software, etc. With this, you can add popular platforms like PayPal, Apple Pay, Google Pay, Stripe, UnionPay, and more to your web application. PHP allows developers to build fast and scalable applications that provide risk-free solutions to payment woes. With the help of these libraries, you can enable several online payment options like integration with the shopping cart, faster processing, multiple payment platforms, charge back prevention, fraud management, recurring billing, etc.
Below are our 20 best PHP payment processing open source libraries in 2021. Omnipay is a framework agnostic, multi-gateway payment processing library built for PHP 5.6+. Its consistent API is fully unit tested and comes with an example application for beginners. Here, you can learn an API and use it in multiple projects without rewriting the code. Another library, InvoicePlane is a self-hosted open-source application that manages invoices, clients, and payments. Payum Bundle, on the other hand, is an MIT-licensed open-source project that offers all payment-related solutions. It supports both simple use cases as well as very advanced ones.
invoiceninjaby invoiceninja
Invoices, Expenses and Tasks built with Laravel, Flutter and React
invoiceninjaby invoiceninja
PHP
7140
Version:v5.6.1
License: Others (Non-SPDX)
omnipayby thephpleague
A framework agnostic, multi-gateway payment processing library for PHP 5.6+
omnipayby thephpleague
PHP
5758
Version:v3.2.1
License: Permissive (MIT)
payby yansongda
Probably the most elegant Alipay/WeChat/Unipay payment SDK extension package I have ever used
payby yansongda
PHP
4639
Version:v3.4.0
License: Permissive (MIT)
craterby bytefury
Free & Open Source Invoice App for Freelancers & Small Businesses
craterby bytefury
PHP
4101
Version:4.2.0
License: Others (Non-SPDX)
stripe-phpby stripe
PHP library for the Stripe API.
stripe-phpby stripe
PHP
3402
Version:v10.15.0
License: Permissive (MIT)
paymentby helei112g
Payment is a php version of payment aggregation third-party sdk, which integrates WeChat payment, Alipay payment and China Merchants Netcom payment. Provide a unified calling interface, which facilitates quick access to various payment, query, refund, and transfer capabilities. The server access payment function is convenient and fast.
paymentby helei112g
PHP
2318
Version:v5.1.0
License: Permissive (MIT)
cashier-stripeby laravel
Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
cashier-stripeby laravel
PHP
2227
Version:v14.12.1
License: Permissive (MIT)
InvoicePlaneby InvoicePlane
A self-hosted open source application for managing your invoices, clients and payments.
InvoicePlaneby InvoicePlane
PHP
2217
Version:v1.6.1-beta-2
License: Others (Non-SPDX)
Payumby Payum
PHP 7+ Payment processing library. It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc. - provided by Forma-Pro
Payumby Payum
PHP
1757
Version:1.7.0
License: Permissive (MIT)
alipayby dedemao
A PHP file handles Alipay payment series, including computer website payment, mobile website payment, cash red envelope, consumption red envelope, scan code payment, JSAPI payment, single transfer to Alipay account, transaction settlement (account split, profit split), web page authorization to obtain users information etc.
alipayby dedemao
PHP
1157
Version:Current
License: Permissive (MIT)
laravel-payby yansongda
可能是我用过的最优雅的 Alipay/WeChat/Unipay 的 laravel 支付扩展包了
laravel-payby yansongda
PHP
973
Version:Current
License: Permissive (MIT)
laravel-ecommerce-exampleby drehimself
Code for YouTube series on building a Laravel E-Commerce application.
laravel-ecommerce-exampleby drehimself
PHP
947
Version:Current
License: No License
PaySDKby Yurunsoft
PHP 集成支付 SDK ,集成了支付宝、微信支付的支付接口和其它相关接口的操作。支持 php-fpm 和 Swoole,所有框架通用。宇润PHP全家桶技术支持群:17916227
PaySDKby Yurunsoft
PHP
799
Version:v3.1.4
License: Permissive (MIT)
laravel-paypalby srmklive
Laravel plugin for processing payments through PayPal. Can be used separately.
laravel-paypalby srmklive
PHP
876
Version:3.0.21
License: Permissive (MIT)
omnipay-alipayby lokielse
Alipay driver for the Omnipay PHP payment processing library
omnipay-alipayby lokielse
PHP
561
Version:v3.1.2
License: Permissive (MIT)
payby xu42
个人网站即时到账收款解决方案 / Personal website instant payment solution
payby xu42
PHP
557
Version:Current
License: Permissive (MIT)
sns_authby anerg2046
Universal third-party login SDK, support WeChat, WeChat scan code, QQ, Weibo login, Alipay login, Facebook, Line, Twitter, Google
sns_authby anerg2046
PHP
594
Version:v2.0.11
License: Permissive (MIT)
braintree_phpby braintree
Braintree PHP library
PayumBundleby Payum
Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
PayumBundleby Payum
PHP
512
Version:2.4.2
License: Permissive (MIT)