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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

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

  1. Install the package via Composer:

  2. Publish the configuration file:

  3. Add your payment gateway credentials to your .env file:

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

  1. Clone the repository
  2. Install dependencies: composer install
  3. Run tests: composer test

License

This package is open-sourced software licensed under the MIT license.

Support

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

PHP Build Version
Package Version
Requires php Version ^8.2
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mdiqbal/laravel-payments contains the following files

Loading the files please wait ...