PHPackages                             hnayeb/idnow - 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. hnayeb/idnow

ActiveLibrary

hnayeb/idnow
============

IDnow API

0147PHP

Since Jan 24Pushed 1y agoCompare

[ Source](https://github.com/hnayeb/idnow)[ Packagist](https://packagist.org/packages/hnayeb/idnow)[ RSS](/packages/hnayeb-idnow/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

luciuz/idnow
============

[](#luciuzidnow)

IDnow API for everyone!

### Examples

[](#examples)

Test

```
// init
$idNow = new IdNow(
    'companyid',
    'API-KEY-TOKEN',
    'https://gateway.test.idnow.de',
    'v1',
    'https://go.test.idnow.de'
);

// create the ident
$transactionId = 'rSRS6BcacTIm4hM94NleLM55x5jamuRI';
$params = [
    'birthday' => '1989-09-09',
    'firstname' => 'X-AUTOTEST-HAPPYPATH',
    'lastname' => 'Lastname',
    'gender' => 'MALE',
    'nationality' => 'RU',
    'mobilephone' => '+79123456789',
];
$result = $idNow->create($transactionId, $params);

// init test IdNowApi
$idNowTest = new IdNowApi(
    'companyid',
    'API-KEY-TOKEN',
    'https://api.test.idnow.de',
    'v1',
    ''
);

// start
$result = $idNowTest->do("{$idNowTest->companyId}/identifications/$transactionId/start", []);

// request video chat
$result = $idNowTest->do("{$idNowTest->companyId}/identifications/$transactionId/requestVideoChat", []);

// now we are ready to receive a webhook
```

Production

```
// init
$idNow = new IdNow(
    'companyid',
    'API-KEY-TOKEN',
    'https://gateway.idnow.de',
    'v1',
    'https://go.idnow.de'
);

// create the ident
$transactionId = 'rSRS6BcacTIm4hM94NleLM55x5jamuRJ'
$params = [
    'birthday' => '1989-09-09',
    'firstname' => 'Firstname',
    'lastname' => 'Lastname',
    'gender' => 'MALE',
    'nationality' => 'RU',
    'mobilephone' => '+79123456789',
];
$result = $idNow->create($transactionId, $params);

// get estimated waiting time
$estimatedWaitingTime = $idNow->estimatedWaitingTime();

// get ident url
$url = $idNow->getUrl($transactionId);

// open url in the iframe
// [identification processs]
// get result redirect
// now we are ready to receive a webhook
```

Bonus

```
// download results as ZIP
$result = $idNow->download($href, $dir);

// retrieve results as JSON
$result = $idNow->retrieve($transactionId);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab12c0e9b985e29b0c1c5f81a8984b335a1a976dc40e2359e498ed0b359679a1?d=identicon)[hnayeb](/maintainers/hnayeb)

---

Top Contributors

[![hnayeb](https://avatars.githubusercontent.com/u/152452709?v=4)](https://github.com/hnayeb "hnayeb (4 commits)")

### Embed Badge

![Health badge](/badges/hnayeb-idnow/health.svg)

```
[![Health](https://phpackages.com/badges/hnayeb-idnow/health.svg)](https://phpackages.com/packages/hnayeb-idnow)
```

PHPackages © 2026

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