基于 tuya cloud api sdk 的封装
$ 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');
MIT