Download the PHP package infradigitalnusantara/idn-php-client without Composer
On this page you can find all versions of the php package infradigitalnusantara/idn-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download infradigitalnusantara/idn-php-client
More information about infradigitalnusantara/idn-php-client
Files in infradigitalnusantara/idn-php-client
Package idn-php-client
Short Description Infra Digital Nusantara APIs Client Adapter
License proprietary
Homepage https://www.infradigital.io
Informations about the package idn-php-client
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
`
Once you already initiate the class you can use like this example `
So it would look like this if we put it together
`
You may put this short of code $idnClient->setDevMode();
after you initiate the class. Instead it will use IDN production domain as default uri.
`
All versions of idn-php-client with dependencies
psr/http-message Version ^1.0
psr/cache Version ^1.0
php-http/httplug Version ^1.1
php-http/discovery Version ^1.0
php-http/guzzle6-adapter Version ^1.0
guzzlehttp/psr7 Version ^1.2
php-http/client-implementation Version ^1.0
php-http/client-common Version ^1.3
php-http/cache-plugin Version ^1.2
php-http/logger-plugin Version ^1.0