A Laravel package for integrating payment gateways (Zarinpal, Zibal), built with contract-based design and an adapter pattern for gateway responses. Published on Packagist.
01
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.
02
Each gateway implements a shared interface, so adding a new provider means writing one driver — no changes to calling code.
Normalizes each gateway's raw response into one consistent shape for success, failure, and verification.
A scheduled probe pings each gateway and auto-selects the fastest-responding one when no driver is set explicitly.
Installable in any Laravel project via Composer, with versioned releases.
03
Drag to see more
Pulled live from the GitHub API.