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(11mo ago)4535↑600%[2 issues](https://github.com/conedevelopment/simplepay-php/issues)MITPHPPHP ^8.1CI passing

Since Aug 4Pushed 11mo 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 today

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

Maintenance42

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

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

334d 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

[aws/aws-sdk-php

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

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2312.4M25](/packages/php-opencloud-openstack)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[postfinancecheckout/sdk

PostFinance Checkout SDK for PHP

22241.1k22](/packages/postfinancecheckout-sdk)

PHPackages © 2026

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