Published package

MiliPay

A Laravel package for integrating payment gateways (Zarinpal, Zibal), built with contract-based design and an adapter pattern for gateway responses. Published on Packagist.

Overview

MiliPay gives Laravel apps a single, consistent interface for multiple Iranian payment gateways. Each gateway is a driver built against a shared contract, so the calling code never needs to know which provider is actually handling a payment.

Gateway responses are normalized through an adapter layer, so success/failure/verification handling looks identical no matter which gateway processed the transaction.

Features

Contract-based drivers

Each gateway implements a shared interface, so adding a new provider means writing one driver — no changes to calling code.

Response adapter pattern

Normalizes each gateway's raw response into one consistent shape for success, failure, and verification.

FastDriver auto-selection

A scheduled probe pings each gateway and auto-selects the fastest-responding one when no driver is set explicitly.

Packagist-published

Installable in any Laravel project via Composer, with versioned releases.

LaravelComposerZarinpalZibalPackagist

Package stats

stars
forks
open issues
last updated

Drag to see more

Pulled live from the GitHub API.