Download the PHP package gatepay/core without Composer
On this page you can find all versions of the php package gatepay/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package core
Short Description Deterministic Payment Gateway Transaction Transport
License MIT
Homepage https://github.com/TrayDigita/GatePay-Core
Informations about the package core
💳 GatePay
The Payment Gateway Library That Actually Makes Sense
Stop wrestling with payment integrations. Start building.
Small Libraries BIG IMPACT!
GatePay is not just another payment gateway wrapper. It's a deterministic, traceable, and swappable payment processing framework designed to make your life easier. No need to read hundreds files of core code to understand how to process a payment. No more 3 AM debugging sessions trying to figure out why your transaction failed. With GatePay, you get a clear, predictable flow that works the same way for every gateway implementation.
😤 The Problem
Every developer who has integrated payment gateways knows the pain:
| 😱 The Reality | 💀 What You Get |
|---|---|
| Setup Hell | 500+ lines of config before your first transaction |
| Spaghetti State | if-else nightmare tracking payment status |
| Debug Despair | "Where did my transaction fail?" - You, at 3 AM |
| Copy-Paste Chaos | Every gateway = rewrite everything from scratch |
| Documentation Maze | 47 tabs open, still confused |
| Ambiguous Everything | Is it PAID, paid, success, SUCCESS, or 1? |
🤯 Learning Curve Hell
✨ The Solution
GatePay is built on one principle: Deterministic Payment Processing
🎯 What We Need To Solve
| Problem | GatePay Solution |
|---|---|
| Complex Setup | 5 lines to process your first payment |
| Untraceable Flows | Every state change is logged & trackable |
| Gateway Lock-in | Swap gateways with zero code changes |
| State Chaos | Clear enum states: PENDING, SUCCESS, ERROR |
| Logging Nightmare | PSR-3 logger integration built-in |
| HTTP Headaches | PSR-7/PSR-17/PSR-18 compliant - use ANY HTTP client |
| Ambiguous Responses | Consistent @attributes + @value format for XML |
🚀 Quick Start
No 500-line setup. No config files. No magic strings.
🏗️ Architecture
📦 Features
🔌 PSR Compliant - Use What You Already Have
- PSR-7 - HTTP Messages (Request/Response)
- PSR-17 - HTTP Factories
- PSR-18 - HTTP Client
- PSR-3 - Logger
🎭 Human-Readable States
📋 Built-in Traceability
Every transaction is traceability & centralized in a transaction.
🏭 Easy Gateway Creation
💡 Full Example
🛠️ Utilities
Reference Order ID Generator
Optimized for payment systems - k-sortable, prefixed, sufficient entropy.
📖 Documentation
XML Parser
Consistent parsing across SimpleXML, LibXML, and Pure PHP.
📖 Documentation
🎓 Learning Path
| Step | Time | What You Learn |
|---|---|---|
| 1 | 5 min | Process your first transaction |
| 2 | 15 min | Understand Transaction States |
| 3 | 30 min | Create a custom Gateway |
| 4 | 1 hour | Master Actions & Processors |
Prerequisites: Basic understanding of PSR-7, PSR-17, PSR-18
📂 Resources
- 📘 DummyGateway Example - Complete gateway implementation reference
- 📗 Transaction Stack - State management internals
- 📙 Utilities Documentation - Helper tools
🤝 Philosophy
Payment processing should be:
- ✅ Predictable - Same input = Same output
- ✅ Traceable - Know exactly what happened and when
- ✅ Swappable - Change gateways without rewriting code
- ✅ Debuggable - Find issues in minutes, not hours
- ✅ Learnable - Understand in a day, master in a week
📜 License
MIT License - Use it, modify it, ship it.
Stop fighting your payment gateway. Start shipping features.
Built with ❤️ for developers who have better things to do than debug payment integrations.
All versions of core with dependencies
ext-json Version *
psr/http-client Version ^1.0
psr/http-message Version ^1.0 || ^2.0
psr/http-factory Version ^1.0
psr/log Version ^1.0 || ^2.0 || ^3.0