PHPackages                             zingle/zi-agent - 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. zingle/zi-agent

ActiveLibrary

zingle/zi-agent
===============

Zingle infrastructure agent

v2.0.0(5y ago)019.6k↓50%MITPHPPHP ^7.1

Since Nov 16Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Zingle/zi-agent)[ Packagist](https://packagist.org/packages/zingle/zi-agent)[ RSS](/packages/zingle-zi-agent/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

zi-agent Library
================

[](#zi-agent-library)

[![Build Status](https://camo.githubusercontent.com/ab179a38a20326ec5ce2f7d10f5c5382211198fa995df131d0a905df3c3fa120/68747470733a2f2f7472617669732d63692e636f6d2f5a696e676c652f7a692d6167656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Zingle/zi-agent)[![Coverage Status](https://camo.githubusercontent.com/bd762d306fa07f9e6c67b0eef9a309c1d2596f69ea1ff52b6e7dc20b5a162bdb/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f5a696e676c652f7a692d6167656e742f62616467652e7376673f6272616e63683d6164645f636f64696e675f7374616e6461726473)](https://coveralls.io/github/Zingle/zi-agent?branch=add_coding_standards)

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

[](#installation)

```
composer require zingle/zi-agent
```

Usage
-----

[](#usage)

```
use Zingle\Infrastructure\Agent;
use Zingle\Infrastructure\Connection;

$key = new \phpseclib\Crypt\RSA("-----BEGIN RSA PRIVATE KEY-----\nmTJJCjZ...");
$agent = new Agent("foo-user", $key);
$connection = new Connection("example.com", $agent);
$result = $connection->execute("my-command");

if ($result->getExit() !== 0) {
    echo $result->getOutput();
    echo "failed\n";
}

// if running multiple commands, explicitly open and close the connection
$connection->open();
// ... $result = $connection->execute("...");
// ... $result = $connection->execute("...");
$connection->close();
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

Total

3

Last Release

2015d ago

Major Versions

v0.0.1-beta → v1.0.02018-11-16

v1.0.0 → v2.0.02020-11-10

PHP version history (2 changes)v0.0.1-betaPHP ^7.0

v2.0.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5db134256244905f56a0abc71f16b3d50f5a29bfd33c23251509e71672e95c1b?d=identicon)[njovin](/maintainers/njovin)

![](https://www.gravatar.com/avatar/71da810d87a960e6f588cbab9a7c6dff69e113478795276b2f8ba68e8bb14b61?d=identicon)[richRemer](/maintainers/richRemer)

---

Top Contributors

[![zquintana](https://avatars.githubusercontent.com/u/130444?v=4)](https://github.com/zquintana "zquintana (15 commits)")[![richRemer](https://avatars.githubusercontent.com/u/1762585?v=4)](https://github.com/richRemer "richRemer (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zingle-zi-agent/health.svg)

```
[![Health](https://phpackages.com/badges/zingle-zi-agent/health.svg)](https://phpackages.com/packages/zingle-zi-agent)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[civicrm/civicrm-core

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

728272.9k20](/packages/civicrm-civicrm-core)

PHPackages © 2026

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