PHPackages                             oderopay/odero-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. [Payment Processing](/categories/payments)
4. /
5. oderopay/odero-php

ActiveLibrary[Payment Processing](/categories/payments)

oderopay/odero-php
==================

Oderopay PHP Sdk

v2.0.2(11mo ago)21451MITPHPPHP ^8.1CI passing

Since Jul 1Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/oderopay/odero-php)[ Packagist](https://packagist.org/packages/oderopay/odero-php)[ RSS](/packages/oderopay-odero-php/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (4)Versions (17)Used By (0)

Oderopay PHP SDK
----------------

[](#oderopay-php-sdk)

[![Build Status](https://github.com/oderopay/odero-php/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/oderopay/odero-php/actions/workflows/ci.yml)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a309bd6750cbcc7653ef3439c68954aa2319055c7119f534b2c8c282d721b93b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f6465726f7061792f6f6465726f2d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e26733d61666338633735333566356534313036396332333064623839313062633534666332646264353366)](https://scrutinizer-ci.com/g/oderopay/odero-php/?branch=main)

The Oderopay PHP library provides convenient access to the Oderopay API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with Oderopay API.

### Requirements

[](#requirements)

Compatibility

VersionPHP`v1.x`7.2, 7.3, 7.4 and ^8.0`v2.x`^8.1### Installation

[](#installation)

You can install the bindings via Composer. Run the following command:

```
composer require oderopay/odero-php
```

To use the bindings, use Composer's autoload:

```
require_once('vendor/autoload.php');
```

### Testing

[](#testing)

To run the tests

```
./vendor/bin/phpspec run
```

Dependencies
------------

[](#dependencies)

The bindings require the following extensions in order to work properly:

- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer
- [`json`](https://secure.php.net/manual/en/book.json.php)
- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String)

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Getting Started
---------------

[](#getting-started)

Simple usage looks like:

```
$config = new \Oderopay\OderoConfig('My Store Name', '{merchant-id}', '{merchant-token}', \Oderopay\OderoConfig::ENV_STG);

$oderopay = new \Oderopay\OderoClient($config);

$billingAddress = new \Oderopay\Model\Address\BillingAddress();
$billingAddress
    ->setAddress('185 Berry St #550, San Francisco, CA 94107, USA')
    ->setCity('San Francisco')
    ->setCountry('USA');

$deliveryAddress = new \Oderopay\Model\Address\DeliveryAddress();
$deliveryAddress
    ->setAddress('185 Berry St #550, San Francisco, CA 94107, USA')
    ->setCity('San Francisco')
    ->setCountry('USA')
    ->setDeliveryType('Courier');

$customer = new \Oderopay\Model\Payment\Customer();
$customer
    ->setEmail('customer@email.com')
    ->setPhoneNumber('	+19159969739')
    ->setDeliveryInformation($deliveryAddress)
    ->setBillingInformation($billingAddress);

$paymentRequest = new \Oderopay\Model\Payment\Payment();
$paymentRequest
    ->setAmount(100.00)
    ->setCurrency('USD')
    ->setExtOrderId('external-random-id')
    ->setExtOrderUrl('https://mystore.com/sample-product.html')
    ->setMerchantId('{merchant-id}')
    ->setCustomer($customer)

$payment = $oderopay->payments->create($paymentRequest);
var_dump($payment);
```

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance50

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% 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 ~73 days

Recently: every ~101 days

Total

16

Last Release

357d ago

Major Versions

v1.1.1 → v2.0.02024-05-22

PHP version history (4 changes)v1.0.0PHP &gt;=7.2

v1.1.0PHP &gt;=8.0

v1.1.1PHP ^7.2||^8.0

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/823521?v=4)[Çağrı S.](/maintainers/bencagri)[@bencagri](https://github.com/bencagri)

---

Top Contributors

[![bencagri](https://avatars.githubusercontent.com/u/823521?v=4)](https://github.com/bencagri "bencagri (82 commits)")[![BancuTheKind](https://avatars.githubusercontent.com/u/6428255?v=4)](https://github.com/BancuTheKind "BancuTheKind (2 commits)")

### Embed Badge

![Health badge](/badges/oderopay-odero-php/health.svg)

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

PHPackages © 2026

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