PHPackages                             andrewaubury/tuya-client - 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. andrewaubury/tuya-client

ActiveLibrary[API Development](/categories/api)

andrewaubury/tuya-client
========================

API client for Tuya

02[1 issues](https://github.com/AndrewAubury/tuya-client/issues)PHP

Since Mar 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/AndrewAubury/tuya-client)[ Packagist](https://packagist.org/packages/andrewaubury/tuya-client)[ RSS](/packages/andrewaubury-tuya-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

API Client for Tuya
===================

[](#api-client-for-tuya)

[![CI](https://github.com/inverse/tuya-client-php/workflows/CI/badge.svg)](https://github.com/inverse/tuya-client-php/workflows/CI/badge.svg)[![codecov](https://camo.githubusercontent.com/ed030ba72da2744a241af5f512a283c8593b7e9f5c908f3abfa4eb0e2bc6c8bb/68747470733a2f2f636f6465636f762e696f2f67682f696e76657273652f747579612d636c69656e742d7068702f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d51524150414c5343584a)](https://codecov.io/gh/inverse/tuya-client-php)[![Author](https://camo.githubusercontent.com/39d10651d4beed555e4a5a04b88d22d71081cb5bac1f6259a6649ebd19ebf443/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40696e76657273652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/inverse)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/278abd115c00afd67669db21da31b4a681b3dad910a202bbcf19d500c345a286/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e76657273652f747579612d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/inverse/tuya-client)[![Total Downloads](https://camo.githubusercontent.com/3439beb4e74d0a6069f1fc6a8a61aaad59ba161c74e06139a7b755a7dab64cea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e76657273652f747579612d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/inverse/tuya-client)

An WIP API Client for controlling [Tuya](https://www.tuya.com/) products, heavily inspired by [tuyapy](https://pypi.org/project/tuyapy).

Currently Supporting
--------------------

[](#currently-supporting)

- Switch devices

Installation
------------

[](#installation)

```
composer require inverse/tuya-client

```

Example
-------

[](#example)

```
