Browse project documentation
Pardakht Documentation
Type-safe PHP library for Iranian payment gateways.
Learning Resources
- Getting Started — Install and process your first payment in 5 minutes
- Core Concepts — Payment flow, gateway model, and design principles
- Cookbook — Practical recipes for common scenarios
- FAQ — Design decisions and common questions
Gateway Catalog
- Zarinpal
- Mellat (Behpardakht)
- Saman (Sep)
- Parsian (Pec)
- Sadad (Bank Melli)
- Pasargad
- IDPay
- Zibal
- Pay.ir
- NextPay
- Vandar
- Sizpay
Technical Reference
- API Reference — Complete class and method reference
- Money & Currency — Amount value object, Rial/Toman safety
- Banking Utilities — Card number and Sheba (IBAN) validation
- Events — Payment lifecycle events
- Error Handling — Exception hierarchy and gateway error codes
- HTTP & Logging — Custom HTTP clients, loggers, and SOAP
- Redirect & Callback — Redirect flow and callback handling
Supplementary
- Algorithms & Attribution — Credits and specifications