PHPackages                             infradigital/api-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. infradigital/api-client

ActiveLibrary[API Development](/categories/api)

infradigital/api-client
=======================

Infra Digital Nusantara APIs Client Adapter

v1.1(7y ago)016[2 issues](https://github.com/infra-digital/php-client-schools/issues)[2 PRs](https://github.com/infra-digital/php-client-schools/pulls)proprietaryPHPPHP &gt;=5.6

Since Aug 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/infra-digital/php-client-schools)[ Packagist](https://packagist.org/packages/infradigital/api-client)[ Docs](https://www.infradigital.io)[ RSS](/packages/infradigital-api-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (12)Versions (13)Used By (0)

**INFRA DIGITAL NUSANTARA APIs**

This is APIs library used for doing request to IDN endpoint.

You may install this library from composer. You can install this library using this command `composer require infradigital/api-client`or by registering the library packagist namespace into your composer.json file `{ "require": { "infradigital/api-client": "1.*" } }` then invoke the composer install command `php composer install`

***HOW TO***

To initiate the API class you can import first the ApiClient class like this `use InfraDigital\ApiClient;`then initiate it in your php code

```
$idnClient = new ApiClient\Client($idnUserName, $idnPassword);

```

Once you already initiate the class you can use like this example

```
$idnClient->studentApi()->createStudent('Test User 1234' . date('YMDhis'), 'testBillKey01234' . date('YMDhis'),'0987612345', 'use.only@valid.domain', 'This is test to create user');

```

So it would look like this if we put it together

```
use InfraDigital\ApiClient;

$idnClient = new ApiClient\Client($idnUserName, $idnPassword);
$idnClient->studentApi()->createStudent('Test User 1234' . date('YMDhis'), 'testBillKey01234' . date('YMDhis'),'0987612345', 'use.only@valid.domain', 'This is test to create user');

```

You may put this short of code `$idnClient->setDevMode();` after you initiate the class. Instead it will use IDN production domain as default uri.

```
$idnClient = new ApiClient\Client($idnUserName, $idnPassword);
$idnClient->setDevMode(); // This will be tell the class to use development uri
$idnClient->studentApi()->createStudent('Test User 1234' . date('YMDhis'), 'testBillKey01234' . date('YMDhis'),'0987612345', 'use.only@valid.domain', 'This is test to create user');

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~23 days

Recently: every ~34 days

Total

7

Last Release

2678d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/infradigital-api-client/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9485.4M64](/packages/m4tthumphrey-php-gitlab-api)[dhope0000/lxd

PHP-based API wrapper for LXD REST API.

136.2k](/packages/dhope0000-lxd)[bitbucket/client

Bitbucket API 2.0 client for PHP

103765.9k11](/packages/bitbucket-client)

PHPackages © 2026

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