PHPackages                             inarli/iys-php-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. inarli/iys-php-client

ActiveLibrary[API Development](/categories/api)

inarli/iys-php-client
=====================

İleti Yönetim Sistemi (iys.org.tr) Api Servisleri İçin Php Client Kütüphanesi

1.0.7(5y ago)131.7k8MITPHPPHP &gt;=5.6

Since Nov 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/inarli/iys-php-client)[ Packagist](https://packagist.org/packages/inarli/iys-php-client)[ RSS](/packages/inarli-iys-php-client/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

PHP Client for (İleti Yönetim Sistemi) iys.org.tr
-------------------------------------------------

[](#php-client-for-i̇leti-yönetim-sistemi-iysorgtr)

### Example:

[](#example)

```
$apiUri = 'https://api.sandbox.iys.org.tr';
$iysBrandCode = 'YOUR_BRAND_CODE';
$iysCode = 'YOUR_IYS_CODE';

// test account
$email = 'YOUR_MAIL';
$password = 'YOUR_PASSWORD';

$iys = new Iys\IysApi($apiUri,$iysCode,$iysBrandCode);

// login to iys system
$login = $iys->authentication->loginWithOauth2($email, $password);
if ($login instanceof \Iys\Auth\Response\Token){
    $iys->setToken($login->getAccessToken());
    $iys->setRefreshToken($login->getRefreshToken());
}

// create a consent
$phoneNumber = '+905050000000';
$email = 'dummy@email.com';
$date = date('Y-m-d H:i:s');
$consentModel = $iys->consentManagement->generateConsent($email, Iys\ConsentManagement\Enum\ConsentType::EMAIL, Iys\ConsentManagement\Enum\ConsentSource::WEB, Iys\ConsentManagement\Enum\ConsentStatus::APPROVE, $date, Iys\ConsentManagement\Enum\RecipientType::INDIVIDUAL);
$result = $iys->consentManagement->createSingleConsent($consentModel);

// All request returns a HttpResponse object.
// Typically response looks like this

Iys\HttpResponse {#37
     -statusCode: 200
     -errors: null
     -errorCode: null
     -message: null
     -data: array:2 [
       "transactionId" => "e9815a44f852aec77648c0f5e2eec67fda0fdb23b2ff1de72be1a4e80ce04f14"
       "creationDate" => "2020-08-24 11:46:44"
     ]
   }
```

### Covered services

[](#covered-services)

- Authentication Service
- Consent Management Service

Todos
-----

[](#todos)

- Tests
- Brand Management Service
- Retailer Management Service
- Retailer Management Service
- Agreement Management Service
- Info Services

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~7 days

Total

8

Last Release

1952d ago

### Community

Maintainers

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

---

Top Contributors

[![inarli](https://avatars.githubusercontent.com/u/1387333?v=4)](https://github.com/inarli "inarli (14 commits)")[![Ardakilic](https://avatars.githubusercontent.com/u/2063957?v=4)](https://github.com/Ardakilic "Ardakilic (1 commits)")[![shibby](https://avatars.githubusercontent.com/u/291643?v=4)](https://github.com/shibby "shibby (1 commits)")

---

Tags

iysphp-clientturkey

### Embed Badge

![Health badge](/badges/inarli-iys-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/inarli-iys-php-client/health.svg)](https://phpackages.com/packages/inarli-iys-php-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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