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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package core

💳 GatePay

The Payment Gateway Library That Actually Makes Sense

Stop wrestling with payment integrations. Start building.

PHP CI codecov License: MIT PHP Version


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

🎭 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


🤝 Philosophy

Payment processing should be:


📜 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

PHP Build Version
Package Version
Requires php Version >=8.1
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gatepay/core contains the following files

Loading the files please wait ...