PHPackages                             phpcast/tuya-cloud-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. [API Development](/categories/api)
4. /
5. phpcast/tuya-cloud-sdk

ActiveLibrary[API Development](/categories/api)

phpcast/tuya-cloud-sdk
======================

php SDK for tuya cloud api

1.0.13(5y ago)01461[1 issues](https://github.com/phcast/tuya-cloud-sdk/issues)MITPHPCI failing

Since Apr 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/phcast/tuya-cloud-sdk)[ Packagist](https://packagist.org/packages/phpcast/tuya-cloud-sdk)[ RSS](/packages/phpcast-tuya-cloud-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (25)Used By (0)

 tuya-cloud-sdk
================

[](#-tuya-cloud-sdk-)

基于 tuya cloud api sdk 的封装

[![Build Status](https://camo.githubusercontent.com/4c3ec974f305826850a972429acb15c96d18adff0e2b80f0af2ac382a9ceece2/68747470733a2f2f7472617669732d63692e6f72672f7068636173742f747579612d636c6f75642d73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phcast/tuya-cloud-sdk)[![StyleCI build status](https://camo.githubusercontent.com/47d4355c4d062e488d602091bed38f9801b9c909fc1e910f6246035b038e7dc4/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235393139383735312f736869656c643f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/47d4355c4d062e488d602091bed38f9801b9c909fc1e910f6246035b038e7dc4/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235393139383735312f736869656c643f6272616e63683d6d6173746572)

[![]()](https://github.styleci.io/repos/259198751)

安装
--

[](#安装)

```
$ composer require phpcast/tuya-cloud-sdk -vvv
```

使用
--

[](#使用)

```
$config = [
    'client_id' => '',
    'secret' => '',
    'version' => 'v1.0',
];
$cloud = \Phpcast\TuyaCloudSdk\Factory::cloud($config);
$user = $cloud->user->users('xxxx');

```

参考
--

[](#参考)

[文档地址](https://docs.tuya.com/zh/iot/open-api/api-list/api/api)

License
-------

[](#license)

MIT

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~21 days

Total

15

Last Release

2030d ago

Major Versions

0.0.1 → 1.0.02020-04-27

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phpcast-tuya-cloud-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/phpcast-tuya-cloud-sdk/health.svg)](https://phpackages.com/packages/phpcast-tuya-cloud-sdk)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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