PHPackages                             twenlike/php-huaweisdk - 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. twenlike/php-huaweisdk

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

twenlike/php-huaweisdk
======================

Package Huawei PHP SDK

v1.0.2(3y ago)05MITPHPPHP ^7.2

Since May 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tianwenlike/HuaweiDataArts)[ Packagist](https://packagist.org/packages/twenlike/php-huaweisdk)[ RSS](/packages/twenlike-php-huaweisdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

HuaweiDataArts
==============

[](#huaweidataarts)

用于华为SDK php DataArts 封装
=======================

[](#用于华为sdk-php-dataarts-封装)

继承方法
====

[](#继承方法)

```
use App\Libraries\huaweisdk\Huawei;

```

Huawei.php 填写key secret 在控制中心获取
===============================

[](#huaweiphp-填写key-secret-在控制中心获取)

```
private static $hw_key    = ""; // key
private static $hw_secret = ""; // secret
private static $hw_url    = ""; // 地址

```

调用
==

[](#调用)

```
namespace App\Controllers\Api\BigScreen;

use App\Controllers\BaseController;
use App\Libraries\huaweisdk\Huawei;

class Test extends BaseController
{
    // 华为连接DataArts测试
    public function index(){
        // $data = [
        //     "url"   => "/test",   // 请求地址
        //     "query" => [     // 请求query参数
        //         "data_time"     => "2023-01-01",
        //         "type"          => 1,
        //     ],
        //     "body"  => [ // 请求body 参数
        //         "data_time"  => "2023",
        //         "type"  =>1
        //     ]
        // ];
        $data = Huawei::getData($data);
        var_dump($data);die();
    }

}

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

2

Last Release

1103d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/twenlike-php-huaweisdk/health.svg)

```
[![Health](https://phpackages.com/badges/twenlike-php-huaweisdk/health.svg)](https://phpackages.com/packages/twenlike-php-huaweisdk)
```

###  Alternatives

[garveen/laravoole

Get 10x performance for Laravel on Swoole or Workerman

8834.9k](/packages/garveen-laravoole)[aneeskhan47/laravel-pagination-merge

Merge multiple laravel paginate instances

1823.4k](/packages/aneeskhan47-laravel-pagination-merge)

PHPackages © 2026

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