PHPackages                             conedevelopment/simplepay-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. conedevelopment/simplepay-php

ActiveLibrary[API Development](/categories/api)

conedevelopment/simplepay-php
=============================

The SimplePay PHP Client.

v0.1.1(1y ago)4825↑540.9%[2 issues](https://github.com/conedevelopment/simplepay-php/issues)MITPHPPHP ^8.1CI passing

Since Aug 4Pushed 1y agoCompare

[ Source](https://github.com/conedevelopment/simplepay-php)[ Packagist](https://packagist.org/packages/conedevelopment/simplepay-php)[ Docs](https://conedevelopment.com)[ RSS](/packages/conedevelopment-simplepay-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

SimplePay PHP Client
====================

[](#simplepay-php-client)

Provides an OpenAPI schema and an auto-generated PHP client as a Composer package.

SimplePay is a payment gateway provided by OTP Mobil Kft.

Warning

This is not an official package.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Curl, JSON, Multibyte String extensions

Installation
------------

[](#installation)

```
composer require conedevelopment/simplepay-php
```

Configuration
-------------

[](#configuration)

- SimplePay Merchant ID
- SimplePay Secret Key

Usage
-----

[](#usage)

```
$client = new Cone\SimplePay\Client('MERCHANT', 'SECRET_KEY');

$client->api()->start(...);
$client->api()->finish(...);
$client->api()->refund(...);
$client->api()->query(...);
$client->api()->do(...);
$client->api()->transactionCancel(...);
$client->api()->doRecurring(...);
$client->api()->cardQuery(...);
$client->api()->cardCancel(...);
$client->api()->tokenQuery(...);
$client->api()->tokenCancel(...);
$client->api()->startEam(...);
$client->api()->startApplePay(...);
$client->api()->doApplePay(...);
```

Note

The client automatically adds the `merchant`, `salt` and `sdkVersion` parameters to the body as well as the `Signature` header to the request.

### Error Handling

[](#error-handling)

SimplePay responds with `HTTP 200` even if the operation has failed or an error has occured. To handle this properly the Client has a built-in middleware that checks whether the response contains any errors, if so, it throws an `ApiException`.

The message holds the error code and the error message to make debugging easier.

```
use Cone\SimplePay\ApiException;

try {
    $client->api()->start(...);
} catch (ApiException $exception) {
    // Log the message starting with the error code
    Log::info($exception->getMessage());

    // Log the error code only
    Log::info($exception->getCode());
}
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 81% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

379d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/71387432?v=4)[Cone](/maintainers/conedevelopment)[@conedevelopment](https://github.com/conedevelopment)

---

Top Contributors

[![iamgergo](https://avatars.githubusercontent.com/u/6567179?v=4)](https://github.com/iamgergo "iamgergo (64 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (15 commits)")

---

Tags

apipaymentphpsdksimplepayphpapisdkopenapipaymentSimplePayotpmobil

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/conedevelopment-simplepay-php/health.svg)

```
[![Health](https://phpackages.com/badges/conedevelopment-simplepay-php/health.svg)](https://phpackages.com/packages/conedevelopment-simplepay-php)
```

###  Alternatives

[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M16](/packages/checkout-checkout-sdk-php)[fingerprint/fingerprint-pro-server-api-sdk

Fingerprint Server API allows you to get, search, and update Events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. The API also supports collection of Automation Intelligence for requests to your server in edge, pre-origin, or middleware contexts.

33302.1k1](/packages/fingerprint-fingerprint-pro-server-api-sdk)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

37234.5k4](/packages/onesignal-onesignal-php-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
