PHPackages                             bigbug-gg/zenlayer - 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. bigbug-gg/zenlayer

ActiveLibrary

bigbug-gg/zenlayer
==================

Zenlayer Cloud API PHP SDK

0.0.4(1y ago)07MITPHPPHP &gt;=8.3

Since Jun 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bigbug-gg/zenlayer)[ Packagist](https://packagist.org/packages/bigbug-gg/zenlayer)[ RSS](/packages/bigbug-gg-zenlayer/feed)WikiDiscussions main Synced 1mo ago

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

Introduction
============

[](#introduction)

Unofficial Zenlayer Cloud API Software Developer Kit (SDK),

At present, the integration of virtual machine related interfaces has been achieved. Other interfaces can be improved on their own if needed, or help to improve this package.

Requirements
============

[](#requirements)

- You must use PHP 8.3.x or later.
- A Zenlayer Cloud account is created and an Access Key ID and an Access Key Password are created. See Generate an API Access Key for more details.

Installation
============

[](#installation)

Use composer:

```
composer require bigbug-gg/zenlayer
```

Quick Examples
==============

[](#quick-examples)

```
// test.php
require_once ("vendor/autoload.php");

use BigbugGg\Zenlayer\Instance;

$appId = 'YOUR-APP-ID';
$secretKey = 'YOUR-SECRET-KEY';
$instance = new Instance($appId, $secretKey);

$zoneId = 'PAR-A';
$data = $instance->describeZones([$zoneId]);
var_dump($data);
```

Output:

```
 php .\test.php
array(1) {
  [0]=>
  object(BigbugGg\Zenlayer\Value\ZoneValue)#6 (2) {
    ["zoneId"]=>
    string(5) "PAR-A"
    ["zoneName"]=>
    string(5) "Paris"
  }
}
```

How to extend other interfaces
==============================

[](#how-to-extend-other-interfaces)

Inheriting the Fetch class, which encapsulates the signature and request

```
require_once ("vendor/autoload.php");

use BigbugGg\Zenlayer\Fetch;

class SimpleExample extends Fetch
{
    /**
     * @throws JsonException
     */
    public function zenlayerCallName(): array
    {
        $dataArr = $this->fetch('ZenlayerCallName', [
            // Parameters  => Values
        ]);
        // other logic codes
        return $dataArr;
    }
}
```

Usage

```
$appId = 'YOUR-APP-ID';
$secretKey = 'YOUR-SECRET-KEY';
$instance = new SimpleExample($appId, $secretKey);
$data = $instance->zenlayerCallName();
var_dump($data);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

696d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/282a61ae598a1ecf4483a714d4c750fb409e9311a75b24999d8a432d2c1fa1e0?d=identicon)[bigbug-gg](/maintainers/bigbug-gg)

---

Top Contributors

[![bigbug-gg](https://avatars.githubusercontent.com/u/32216292?v=4)](https://github.com/bigbug-gg "bigbug-gg (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bigbug-gg-zenlayer/health.svg)

```
[![Health](https://phpackages.com/badges/bigbug-gg-zenlayer/health.svg)](https://phpackages.com/packages/bigbug-gg-zenlayer)
```

PHPackages © 2026

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