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 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 2w 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 47% 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

2724d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3424222?v=4)[threetopia](/maintainers/threetopia)[@threetopia](https://github.com/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.5k5.8M712](/packages/sylius-sylius)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9515.7M72](/packages/m4tthumphrey-php-gitlab-api)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28146.3k](/packages/phpro-http-tools)[brd6/notion-sdk-php

Notion SDK for PHP

6021.6k](/packages/brd6-notion-sdk-php)[bitbucket/client

Bitbucket API 2.0 client for PHP

102807.8k13](/packages/bitbucket-client)

PHPackages © 2026

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