Download the PHP package mdiqbal/laravel-payments without Composer
On this page you can find all versions of the php package mdiqbal/laravel-payments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-payments
Laravel Payments Package
A comprehensive Laravel package for integrating multiple payment gateways into your application. This package provides a unified interface for processing payments through various payment providers including Stripe, PayPal, Razorpay, Paystack, and many more.
Table of Contents
- Features
- Supported Gateways
- Installation
- Configuration
- Basic Usage
- Gateway Documentation
- Stripe
- PayPal
- Paystack
- Razorpay
- PayTM
- Flutterwave
- SSLCommerz
- Mollie
- SenangPay
- bKash
- Mercado Pago
- Cashfree
- PayFast
- Skrill
- PhonePe
- Telr
- iyzico
- Pesapal
- Midtrans
- MyFatoorah
- EasyPaisa
- Testing
- Contributing
- License
Features
- Unified Interface: Single API for all payment gateways
- Multiple Gateways: Support for 20+ payment gateways
- Secure: Built with security best practices
- Flexible: Easy to extend with new gateways
- Laravel Ready: Built specifically for Laravel
- Webhook Support: Built-in webhook handling
- Error Handling: Comprehensive error management
- Test Friendly: Full testing support
Supported Gateways
| Gateway | Regions | Supported Methods | Documentation |
|---|---|---|---|
| Stripe | Global | Cards, Apple Pay, Google Pay, ACH | Guide |
| PayPal | Global | PayPal, Cards, Venmo | Guide |
| Paystack | Africa | Cards, Bank Transfer, USSD | Guide |
| Razorpay | India | Cards, UPI, NetBanking, Wallets | Guide |
| PayTM | India | Wallet, Cards, NetBanking, UPI | Guide |
| Flutterwave | Africa | Cards, Mobile Money, Bank Transfer | Guide |
| SSLCommerz | Bangladesh | Cards, Mobile Banking, Bank Transfer | Guide |
| Mollie | Europe | Cards, iDEAL, Bank Transfer, Klarna | Guide |
| SenangPay | Malaysia | Cards, FPX, Online Banking | Guide |
| bKash | Bangladesh | Mobile Wallet | Guide |
| Mercado Pago | Latin America | Cards, Bank Transfer, Wallets | Guide |
| Cashfree | India | Cards, UPI, NetBanking, Wallets | Guide |
| PayFast | South Africa | Cards, EFT, Zapper, Masterpass | Guide |
| Skrill | Global | Wallet, Cards, Bank Transfer | Guide |
| PhonePe | India | UPI, Cards, Wallets | Guide |
| Telr | Middle East | Cards, Knet, Sadad, Fawry | Guide |
| iyzico | Turkey | Cards, Bank Transfer, Wallets | Guide |
| Pesapal | Africa | Cards, Mobile Money, Bank Transfer | Guide |
| Midtrans | Indonesia | Cards, Bank Transfer, E-Wallets | Guide |
| MyFatoorah | Middle East | Cards, Knet, Benefit, Sadad | Guide |
| EasyPaisa | Pakistan | Mobile Wallet, Bank Transfer | Guide |
Installation
-
Install the package via Composer:
-
Publish the configuration file:
- Add your payment gateway credentials to your
.envfile:
Configuration
The package configuration file is located at config/payments.php. Here you can configure all supported gateways:
Basic Usage
Making a Payment
Retrieving Payment Status
Processing Refunds
Gateway Documentation
Stripe
View Full Documentation →
Stripe is a global payment gateway accepting cards, digital wallets, and local payment methods. Ideal for international businesses.
Quick Start:
PayPal
View Full Documentation →
PayPal provides a trusted payment solution with support for PayPal accounts, cards, and alternative payment methods.
Quick Start:
Paystack
View Full Documentation →
Paystack is the leading payment gateway in Africa, supporting cards, bank transfers, and mobile money.
Quick Start:
Razorpay
View Full Documentation →
Razorpay is India's payment solution supporting UPI, cards, net banking, and popular wallets.
Quick Start:
PayTM
View Full Documentation →
PayTM is one of India's largest digital payment platforms supporting wallet, cards, and UPI payments.
Quick Start:
Flutterwave
View Full Documentation →
Flutterwave powers payments across Africa with support for cards, mobile money, and bank transfers.
Quick Start:
SSLCommerz
View Full Documentation →
SSLCommerz is Bangladesh's leading payment gateway with support for cards, mobile banking, and bank transfers.
Quick Start:
Mollie
View Full Documentation →
Mollie is a European payment gateway supporting iDEAL, credit cards, Bancontact, and other local payment methods.
Quick Start:
SenangPay
View Full Documentation →
SenangPay is Malaysia's payment gateway supporting FPX, online banking, and credit cards.
Quick Start:
bKash
View Full Documentation →
bKash is Bangladesh's largest mobile financial service providing mobile wallet payments.
Quick Start:
Mercado Pago
View Full Documentation →
Mercado Pago is Latin America's leading payment platform supporting various local payment methods.
Quick Start:
Cashfree
View Full Documentation →
Cashfree is an Indian payment gateway supporting UPI, cards, net banking, and wallets.
Quick Start:
PayFast
View Full Documentation →
PayFast is South Africa's payment gateway supporting cards, EFT, and various payment methods.
Quick Start:
Skrill
View Full Documentation →
Skrill is a global payment solution supporting wallet transfers, cards, and bank transfers.
Quick Start:
PhonePe
View Full Documentation →
PhonePe is India's UPI-based payment platform supporting UPI, cards, and wallets.
Quick Start:
Telr
View Full Documentation →
Telr is a Middle East payment gateway supporting cards, Knet, Sadad, and other local methods.
Quick Start:
iyzico
View Full Documentation →
iyzico is Turkey's payment platform supporting cards, bank transfers, and digital wallets.
Quick Start:
Pesapal
View Full Documentation →
Pesapal provides payment solutions across Africa with support for cards and mobile money.
Quick Start:
Midtrans
View Full Documentation →
Midtrans is Indonesia's payment gateway supporting cards, bank transfers, and e-wallets.
Quick Start:
MyFatoorah
View Full Documentation →
MyFatoorah is a Middle East payment platform supporting Knet, Benefit, and other local methods.
Quick Start:
EasyPaisa
View Full Documentation →
EasyPaisa is Pakistan's mobile banking platform supporting wallet payments and bank transfers.
Quick Start:
Testing
Running Tests
Test Configuration
Set test mode in your .env.testing file:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Development Setup
- Clone the repository
- Install dependencies:
composer install - Run tests:
composer test
License
This package is open-sourced software licensed under the MIT license.
Support
- 📧 Email: [email protected]
- 🐛 Issues: GitHub Issues
- 📖 Documentation: Full Documentation
- 💬 Discord: Join our Discord
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
All versions of laravel-payments with dependencies
illuminate/support Version ^10|^11|^12
guzzlehttp/guzzle Version ^7.0
illuminate/http Version ^10|^11|^12
srmklive/paypal Version ^3.0
stripe/stripe-php Version ^15.0
abraham-flutterwave/laravel-payment Version ^1.0
raziul/sslcommerz-laravel Version ^1.0
mollie/laravel-mollie Version ^3.0
sabitahmad/laravel-bkash Version ^2.0
loveycom/cashfree Version ^2.0
yogeshgupta/phonepe-laravel Version ^1.0
njoguamos/laravel-pesapal Version ^2.0
midtrans/midtrans-php Version ^2.5
myfatoorah/laravel-package Version ^2.0
zfhassaan/easypaisa Version ^1.0