PHPackages                             zhusaidong/ysk-plus-sdk - 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. zhusaidong/ysk-plus-sdk

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

zhusaidong/ysk-plus-sdk
=======================

ysk-plus sdk

0.1.3(6y ago)28MITPHPPHP &gt;=7.0

Since Aug 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zhusaidong/ysk-plus-sdk)[ Packagist](https://packagist.org/packages/zhusaidong/ysk-plus-sdk)[ RSS](/packages/zhusaidong-ysk-plus-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

ysk-plus-sdk
============

[](#ysk-plus-sdk)

the ysk-plus sdk

### usage

[](#usage)

> composer require zhusaidong/ysk-plus-sdk -vvv

### config

[](#config)

```
return [
	'appKey'    => 'appKey',
	'secretKey' => 'secretKey',
	'device_sn' => 'device_sn',
];
```

### Available methods

[](#available-methods)

```
$ysk->faceLib;	//face lib
$ysk->face;	//face
$ysk->device;	//device
$ysk->access;	//device access
```

### demo

[](#demo)

```
require 'vendor/autoload.php';

use Zhusaidong\YskPlus\YskPlus;

$ysk = new YskPlus('appKey', 'secretKey');
$apiRes = $ysk->faceLib->create('customer_code', 'my lib');
if($apiRes->getError() === FALSE)
{
	var_dump('ok', $apiRes->get());
}
else
{
	var_dump('error', $apiRes->getErrorMessage());
}
```

### log

[](#log)

```
$ysk = setLog($logPath);
```

### device\_ext\_info

[](#device_ext_info)

```
$device_ext_info = new DeviceExtInfo();
$ysk->device->create('device_sn', 'device_name', $device_ext_info);
```

### add face image

[](#add-face-image)

```
//the face image can be file path or file url
$face_images = [$face_image1, $face_image2];

$ysk->face->create('person_code', 'face_lib_code', 'person_name', [], $face_images);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

4

Last Release

2405d ago

### Community

Maintainers

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

---

Top Contributors

[![zhusaidong](https://avatars.githubusercontent.com/u/3039961?v=4)](https://github.com/zhusaidong "zhusaidong (26 commits)")

---

Tags

ysk-plus

### Embed Badge

![Health badge](/badges/zhusaidong-ysk-plus-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/zhusaidong-ysk-plus-sdk/health.svg)](https://phpackages.com/packages/zhusaidong-ysk-plus-sdk)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[spatie/flare-client-php

Send PHP errors to Flare

177156.9M21](/packages/spatie-flare-client-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

344128.8M102](/packages/google-cloud-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)

PHPackages © 2026

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