PHPackages                             codeofsolomon/laravel-iiko-cloud-api - 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. codeofsolomon/laravel-iiko-cloud-api

ActiveLibrary[API Development](/categories/api)

codeofsolomon/laravel-iiko-cloud-api
====================================

Unofficial Laravel SDK for the iikoCloud API

v0.3.0(11mo ago)1561MITPHPPHP ^8.2

Since Jul 1Pushed 11mo agoCompare

[ Source](https://github.com/codeofsolomon/iiko_cloud)[ Packagist](https://packagist.org/packages/codeofsolomon/laravel-iiko-cloud-api)[ RSS](/packages/codeofsolomon-laravel-iiko-cloud-api/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (11)Versions (18)Used By (0)

Laravel IIKO Cloud API
======================

[](#laravel-iiko-cloud-api)

An unofficial Laravel SDK for the IIKO Cloud API, providing a convenient way to integrate your Laravel application with the iikoCloud restaurant management platform.

Requirements
------------

[](#requirements)

- PHP ^8.2
- Laravel ^10.0 || ^11.0 || ^12.0
- ext-json
- GuzzleHTTP ^7.9
- nyholm/psr7 ^1.8
- psr/http-client ^1.0
- psr/http-message ^2.0
- webmozart/assert ^1.11

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

[](#installation)

Install the package via Composer:

```
composer require codeofsolomon/laravel-iiko-cloud-api
```

After installing, publish the configuration file:

```
php artisan vendor:publish --tag=iiko-api-config
```

This will copy the configuration file to `config/iiko-api.php`.

Configuration
-------------

[](#configuration)

Open the published config file (`config/iiko-api.php`) and set your credentials and preferences:

```
return [
    /*
    |--------------------------------------------------------------------------
    | Authentication
    |--------------------------------------------------------------------------
    |
    | iikoCloud login.
    |
    */
    'login' => env('IIKO_CLOUD_LOGIN'),

    /*
    |--------------------------------------------------------------------------
    | HTTP
    |--------------------------------------------------------------------------
    */
    'base_uri' => env('IIKO_BASE_URI', 'https://api-ru.iiko.services/api/1/'),
    'timeout' => env('IIKO_CLOUD_TIMEOUT', 15.0),

    /*
    |--------------------------------------------------------------------------
    | Token cache
    |--------------------------------------------------------------------------
    |
    | The TTL is automatically calculated from the expiresIn value in the response,
    | but you can set a hard upper limit here.
    |
    */
    'token_cache_ttl' => env('IIKO_TOKEN_TTL', 60 * 59), // 59 min
    'cache_store' => env('IIKO_CACHE_STORE', null),        // null → driver по-умолчанию
];
```

Add the following to your `.env` file:

```
IIKO_BASE_URI=https://api-ru.iiko.services/api/1/
IIKO_CLOUD_LOGIN=your-client-login
IIKO_CACHE_STORE=null
IIKO_CLOUD_TIMEOUT=3500
```

Usage
-----

[](#usage)

The package registers a service binding and a facade (`IikoApi`). You can inject the client or use the facade in your application.

### Using the Facade

[](#using-the-facade)

```
use Codeofsolomon\Iiko\Facades\IikoApi;

// Retrieve a list of regions
$response = IikoApi::getRegions([
    'organization' => config('iiko-api.organization_id'),
]);

$regions = $response->toArray();
```

### Dependency Injection

[](#dependency-injection)

```
use Codeofsolomon\Iiko\Api\IikoApiClient;

class OrderController extends Controller
{
    public function index(IikoApiClient $client)
    {
        $terminals = $client->getTerminalGroups([
            'organization' => config('iiko-api.organization_id'),
        ]);

        return response()->json($terminals);
    }
}
```

Refer to the source code in `src/Api` for a full list of available methods and their parameters.

Token Management
----------------

[](#token-management)

Access tokens are automatically fetched and cached according to the settings in the configuration file. You generally do not need to manage tokens manually.

Contributing
------------

[](#contributing)

Contributions are welcome! Please:

1. Fork the repository
2. Create a new branch for your feature or bugfix
3. Write tests and ensure existing tests pass
4. Submit a Pull Request with a clear description of your changes

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance52

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Total

17

Last Release

337d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44051989?v=4)[Solomon](/maintainers/codeofsolomon)[@codeofsolomon](https://github.com/codeofsolomon)

---

Top Contributors

[![codeofsolomon](https://avatars.githubusercontent.com/u/44051989?v=4)](https://github.com/codeofsolomon "codeofsolomon (49 commits)")

---

Tags

apiclientlaraveliiko

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/codeofsolomon-laravel-iiko-cloud-api/health.svg)

```
[![Health](https://phpackages.com/badges/codeofsolomon-laravel-iiko-cloud-api/health.svg)](https://phpackages.com/packages/codeofsolomon-laravel-iiko-cloud-api)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[sylius/sylius

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

8.5k5.8M712](/packages/sylius-sylius)[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)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[moonshine/moonshine

Laravel administration panel

1.3k239.9k75](/packages/moonshine-moonshine)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60315.4M74](/packages/mollie-mollie-api-php)

PHPackages © 2026

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