PHPackages                             hiworld/laravel-ctwing - 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. [API Development](/categories/api)
4. /
5. hiworld/laravel-ctwing

ActiveLibrary[API Development](/categories/api)

hiworld/laravel-ctwing
======================

CTWing Api for Laravel

v1.1(1y ago)113MITPHPPHP ^7.4|^8.0

Since Nov 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Hiworld-Inc/laravel-ctwing)[ Packagist](https://packagist.org/packages/hiworld/laravel-ctwing)[ RSS](/packages/hiworld-laravel-ctwing/feed)WikiDiscussions master Synced 1mo ago

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

CTwing for Laravel
==================

[](#ctwing-for-laravel)

> 目前只完成了设备列表和下发指令的功能

框架要求
----

[](#框架要求)

- Laravel &gt;=10.0

安装
--

[](#安装)

```
composer require hiworld/laravel-ctwing
```

配置
==

[](#配置)

```
php artisan vendor:publish --provider="Hiworld\\CTWing\\CTWingServiceProvider"
```

`.env` 文件

```
CTWING_BASE_URL=
CTWING_TIME_URL=
CTWING_APP_KEY=
CTWING_APP_SECRET=
CTWING_MASTER_KEY=
```

使用
--

[](#使用)

DeviceManagement使用：

```
use Hiworld\CTWing\AepWork;

$productId = '';
$app = AepWork::DeviceManagement();
$app->QueryDeviceList($productId)
```

DeviceCommand使用：

```
use Hiworld\CTWing\AepWork;

$body = [];
$app = AepWork::DeviceCommand();
$response = $app->CreateCommand($body)
```

LICENSE
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity7

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

Every ~0 days

Total

2

Last Release

551d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10cf202cad6d92eb60131cd5853d6d49d7ca8f7d324994a8572bf2dfc7ec949c?d=identicon)[Hiworld-Inc](/maintainers/Hiworld-Inc)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hiworld-laravel-ctwing/health.svg)

```
[![Health](https://phpackages.com/badges/hiworld-laravel-ctwing/health.svg)](https://phpackages.com/packages/hiworld-laravel-ctwing)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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