PHPackages                             veridu/idos-sdk-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. veridu/idos-sdk-php

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

veridu/idos-sdk-php
===================

Veridu idOS PHP SDK.

v1.0.0(9y ago)03104MITPHPPHP &gt;=7.0

Since Oct 10Pushed 9y ago5 watchersCompare

[ Source](https://github.com/veridu/idos-sdk-php)[ Packagist](https://packagist.org/packages/veridu/idos-sdk-php)[ Docs](https://veridu.com/)[ RSS](/packages/veridu-idos-sdk-php/feed)WikiDiscussions php7 Synced today

READMEChangelog (2)Dependencies (14)Versions (4)Used By (0)

Veridu idOS PHP SDK for PHP7 (for PHP5 [Click Here](https://github.com/veridu/idos-sdk-php/tree/php5))
======================================================================================================

[](#veridu-idos-php-sdk-for-php7-for-php5-click-here)

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

[](#installation)

This SDK can be found on [Packagist](https://packagist.org/packages/veridu/veridu-php).

Is recommended to install this SDK by using [composer](http://getcomposer.org).

If you are using composer, please edit your `composer.json` and add the following:

```
{
    "require": {
        "veridu/idos-sdk-php": "^1.0"
    }
}
```

To continue with the installation please add these dependencies:

```
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
```

Examples
--------

[](#examples)

You can find examples of basic usage in the [samples/](samples) directory.

Bugs and feature requests
-------------------------

[](#bugs-and-feature-requests)

Found a Bug? Have a feature request? [Please open a new issue](https://github.com/veridu/idos-sdk-php/issues).

Before opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/necolas/issue-guidelines), written by [Nicolas Gallagher](https://github.com/necolas/).

Versioning
----------

[](#versioning)

This SDK will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

`..`

And constructed using the following guidelines:

- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit .

Tests
-----

[](#tests)

To run the tests, you must install dependencies with `composer install --dev`.

How To Use The New SDK
----------------------

[](#how-to-use-the-new-sdk)

The majority of the endpoints require Authentication Tokens when making requests to the API.

There are three kinds of tokens: UserToken, CredentialToken and IdentityToken.

### First Step

[](#first-step)

The first step is to create an auth object, ensuring the constructor has the appropriate credentials for the request.

```
/**
 * Instantiates an auth object of CredentialToken Class.
 * For each type of Authorization, there is a Class to be instantiated.
 */
$auth = new \idOS\Auth\CredentialToken(
	$credentials['credentialPublicKey'],
	$credentials['handlerPublicKey'],
	$credentials['handlerPrivKey']
);
```

### Second Step

[](#second-step)

The second step is to instantiate the SDK itself, calling the static create method.

```
$sdk = \idOS\SDK::create($auth);
```

### Third Step

[](#third-step)

The third step is to perform the requests to the endpoints. For the time being we only support endpoints related to the user methods. To simplify the SDK and its usage, each fragment of the request is separated into different classes.

```
/**
 * Making a /GET request to the scores endpoint, listing all scores.
 */
$response = $sdk
    ->Profile($credentials['username']) //passing the username in the Profile Class constructor
    ->Scores->listAll();

/**
 * Making a /POST request to gates endpoint, creating a new gate
 */
$response = $sdk
	->Profile($credentials['username']) //passing the username in the Profile Class constructor
	->Gates->createNew('18+', true);
```

To see more examples of how to use the SDK and how to call the methods and endpoints, go to the [samples/](samples) directory.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 69.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 ~0 days

Total

2

Last Release

3550d ago

Major Versions

v0.1.0 → v1.0.02016-10-10

PHP version history (2 changes)v0.1.0PHP &gt;=5.6

v1.0.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2083850?v=4)[Veridu Ltd](/maintainers/veridu)[@veridu](https://github.com/veridu)

---

Top Contributors

[![flavioheleno](https://avatars.githubusercontent.com/u/471860?v=4)](https://github.com/flavioheleno "flavioheleno (45 commits)")[![rafaame](https://avatars.githubusercontent.com/u/1192417?v=4)](https://github.com/rafaame "rafaame (19 commits)")[![alvaropmello](https://avatars.githubusercontent.com/u/7252825?v=4)](https://github.com/alvaropmello "alvaropmello (1 commits)")

---

Tags

composeridentityidentity-verificationsdk

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/veridu-idos-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/veridu-idos-sdk-php/health.svg)](https://phpackages.com/packages/veridu-idos-sdk-php)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M528](/packages/shopware-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[fschmtt/keycloak-rest-api-client-php

PHP client to interact with Keycloak's Admin REST API.

48100.6k2](/packages/fschmtt-keycloak-rest-api-client-php)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)

PHPackages © 2026

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