Skip to content

Payment Made Easy

Laravel package for multiple payment gateways behind one consistent API — one-time charges, subscriptions, transfers, virtual accounts, payment links, and webhooks.

Quick start

composer require alphabalex/payment-made-easy
php artisan vendor:publish --provider="Alphabalex\\PaymentMadeEasy\\PaymentServiceProvider"
Then see Installation and Payments.

What you get

  • 16 gateways with optional capability interfaces (instanceof / GatewayCapabilities)
  • Shared webhook pipeline (POST /webhooks/payment-gateways/{gateway})
  • Opt-in database recording, Artisan helpers, and balance aggregation
  • Public amounts in major currency units (e.g. 100.00 NGN) — see Amount units

Docs map

Section Contents
Installation Composer, publish config, migrations, .env
Configuration Default gateway, webhook flags, credentials
Payments initializePayment, pay(), verify
Webhooks Routes, events, listeners, security
Gateway guides Provider setup, checkout flows, credentials, and capabilities
API Reference Hand-maintained usage reference and examples
Generated contracts Method signatures and PHPDoc from public interfaces

Gateway guides

Read the dedicated Paystack, Flutterwave, Stripe, Seerbit, Monnify, Squad, OPay, Remita, Mono, Budpay, Interswitch, PayPal, M-Pesa, MTN MoMo, Razorpay, and Paddle integration guides.

Repository

Source, issues, and releases: GitLab project.