Search by

alphabalex / payment-made-easy

alphabalex

A Laravel package for handling payments with multiple gateways (Paystack, Flutterwave, Stripe, Seerbit, etc.)

Package info

gitlab.com/Alphabalex/payment-made-easy

Issues

pkg:composer/alphabalex/payment-made-easy

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

v1.0.0 2026-10-07 15:28 UTC

This package is auto-updated.

Last update: 2026-10-07 15:34:18 UTC


README

Packagist Version Packagist Downloads License PHP Version Documentation

A Laravel package for integrating 16 payment gateways through a consistent payment API. Use hosted checkout, client-side SDKs, mobile-money prompts, subscriptions, transfers, virtual accounts, and payment links where supported by each provider.

Requirements

  • PHP 8.1+ and Laravel 8.83–13 (Laravel 13 requires PHP 8.3+)
  • PHP bcmath extension
  • Stripe users: install the optional SDK with composer require stripe/stripe-php:^17.4

Install

composer require alphabalex/payment-made-easy
php artisan vendor:publish --provider="Alphabalex\PaymentMadeEasy\PaymentServiceProvider"

Set your default gateway and credentials in .env, then initialize a payment:

use Alphabalex\PaymentMadeEasy\Facades\Payment;

$checkout = Payment::driver('paystack')->initializePayment([
    'email'        => 'customer@example.com',
    'amount'       => 5000.00, // major currency units; do not convert to kobo/cents
    'reference'    => 'ORDER_123',
    'callback_url' => 'https://example.com/payment/callback',
]);

// Redirect the customer to the provider's checkout URL.

See Installation, Payments, and Amount units for the complete setup and payment flow.

Gateways

Paystack · Flutterwave · Stripe · Seerbit · Monnify · Squad · OPay · Remita · Mono · Budpay · Interswitch · PayPal · M-Pesa · MTN MoMo · Razorpay · Paddle.

Optional features vary by provider. Check the gateway capability guide before calling subscriptions, transfers, virtual accounts, or payment links.

Project