PHPackages                             crhg/irkit-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. crhg/irkit-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

crhg/irkit-client
=================

client library for IRKit

v1.1.0(8y ago)0381MITPHP

Since Sep 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/crhg/irkit-client)[ Packagist](https://packagist.org/packages/crhg/irkit-client)[ RSS](/packages/crhg-irkit-client/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (3)Used By (1)

irkit-client
============

[](#irkit-client)

Overview
--------

[](#overview)

php client library for irkit api

Usage
-----

[](#usage)

```
use Crhg\IRKit\Client;

$client = new Clinet($config);
$client->send('light', 'on');
```

Install
-------

[](#install)

```
{
    "repositories": [
        { "type": "vcs", "url": "https://github.com/crhg/irkit-client" }
    ],
    "require": {
        "crhg/irkit-client": "master@dev"
    },
}
```

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

[](#configuration)

keytypedescriptionhostarraykey-value pair of host name and host definitionhost.&lt;host name&gt;.uristringuri of IRKit serverhost.&lt;host name&gt;.http\_optionarrayhttp option. passed to GazzleHttp clienthost.&lt;host name&gt;.retryintretry countaccessoryarraykey-value pair of accessory name and its definitionaccessory.&lt;accessory name&gt;.hoststringspecifity host which accssesory belongs toaccessory.&lt;accessory name&gt;.commandarraykey-value pair of command name and command dataaccessory.&lt;accessory name&gt;.command.&lt;command name&gt;arraycommand data. converted to json and posted to IRKit's messages API### Example

[](#example)

```
$config = [
    'host' => [
        'host1' => [
            'uri' => 'http://10.0.1.2',
            'http_option' => [
                'version' => 1.0,
                'headers' => ['X-Requested-With' => 'curl',],
            ],
            'retry' => 3,
        ],
    ],
    'accessory' => [
        'light' => [
            'host' => 'host1',
            'command' => [
                'on' => [
                    'format' => 'us',
                    'freq' => 38,
                    'data' => [8858, 4574, 554, 577,],
                ],
            ],
        ],
    ],
];
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3200d ago

### Community

Maintainers

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

---

Top Contributors

[![crhg](https://avatars.githubusercontent.com/u/8174597?v=4)](https://github.com/crhg "crhg (13 commits)")

### Embed Badge

![Health badge](/badges/crhg-irkit-client/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k42](/packages/ecotone-ecotone)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)

PHPackages © 2026

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