PHPackages                             velser/ondato-api-php-client - 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. velser/ondato-api-php-client

ActiveLibrary[API Development](/categories/api)

velser/ondato-api-php-client
============================

Ondato API Client for PHP

0.2.1(2y ago)06.3k4MITPHPPHP ^7.1CI failing

Since Dec 19Pushed 2y agoCompare

[ Source](https://github.com/velser/ondato-api-php-client)[ Packagist](https://packagist.org/packages/velser/ondato-api-php-client)[ RSS](/packages/velser-ondato-api-php-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (12)Used By (0)

ondato-api-php-client
=====================

[](#ondato-api-php-client)

Ondato API Client for PHP. Used for KYC and Verifid integration with Ondato flows.

Requirements
============

[](#requirements)

- php7.1+

Installation
============

[](#installation)

`composer require velser/ondato-api-php-client`

Usage
=====

[](#usage)

### Kyc

[](#kyc)

```
$guzzleClient = new GuzzleHttp\Client([
    'timeout' => 10,
    'allow_redirects' => false,
    'base_uri' => 'https://ondatourl',
    'headers' => [
        'Accept' => 'application/json'
    ]
]);

$kycApiClient = new Velser\OndatoApiClient\KycApiClient($guzzleClient, 'apikey');

```

### Verifid

[](#verifid)

```
$guzzleClient = new GuzzleHttp\Client([
    'timeout' => 10,
    'allow_redirects' => false,
    'base_uri' => 'https://ondatourl',
    'headers' => [
        'Accept' => 'application/json'
    ]
]);

$kycApiClient = new Velser\OndatoApiClient\VerifidApiClient(
    $guzzleClient,
    'username',
    'password'
);

```

### Notes

[](#notes)

- Accept header is mandatory, as it otherwise server will return multipart response when sending multipart request;
- base\_uri is root uri of Ondato API without specific path;

TODO
====

[](#todo)

- add factory for quick client building via DI;
- tests;
- client exceptions remap to specific exceptions;

Contribution/Maintaining
========================

[](#contributionmaintaining)

- Library is maintainable as it's needed. Any contribution/fixes/improvements are appreciated;
- This library is not related to Ondato itself. It's just an integration. So only this repository related stuff is discussed within this repository;

License
=======

[](#license)

MIT (Can be found in LICENSE file)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.2% 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 ~175 days

Recently: every ~370 days

Total

11

Last Release

1003d ago

### Community

Maintainers

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

---

Top Contributors

[![velser](https://avatars.githubusercontent.com/u/10587651?v=4)](https://github.com/velser "velser (13 commits)")[![AlexGolubovskij](https://avatars.githubusercontent.com/u/201955991?v=4)](https://github.com/AlexGolubovskij "AlexGolubovskij (9 commits)")[![codelav](https://avatars.githubusercontent.com/u/5592541?v=4)](https://github.com/codelav "codelav (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/velser-ondato-api-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/velser-ondato-api-php-client/health.svg)](https://phpackages.com/packages/velser-ondato-api-php-client)
```

###  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)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M736](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)

PHPackages © 2026

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