openapi-sdk-php
openapi-sdk-php copied to clipboard
Alibaba Cloud SDK for PHP
During inheritance of Countable: Uncaught think\exception\ErrorException: Return type of AlibabaCloud\Client\Result\Result::count($key = null) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the...
fixed 201 ##### You need to complete - [x] unit tests and/or feature tests - [x] documentation is changed or added
* **PHP Version**:7.4.3 * **Platform**:wsl * **Product**:nlp * **Product Version**:SignatureDoesNotMatch: Specified signature is not matched with our calculation * **API**: ``` AlibabaCloud::accessKeyClient($this->accessKeyId, $this->accessKeySecret) ->regionId('cn-hangzhou') ->asDefaultClient(); $res = AlibabaCloud::rpc() ->host('alinlp.cn-hangzhou.aliyuncs.com') ->product('Nlp')...
Error AlibabaCloud\Tea\Utils\Utils::isUnset(): Argument #1 ($value) cannot be passed by reference at vendor/alibabacloud/darabonba-openapi/src/OpenApiClient.php:726 722▕ $_lastRequest = $_request; 723▕ $_response = Tea::send($_request, $_runtime); 724▕ if (Utils::is4xx($_response->statusCode) || Utils::is5xx($_response->statusCode)) { 725▕ $err =...
......
第一次用阿里云的 API。 调用个业务第一步:先研究了半天的文档,知道了 openapi 的 demo 里面有源码可以用,找到了,下载对应的 demo,然后看着 demo 里面的垃圾代码,引入“各种版本的”的包,谨慎的抄着命名空间,然后好不容易接完了 V201903xx 的版本 API哈哈哈,这他妈有意思的 API ,想接个人机验证的,去官网文档找半天找到个 afs 业务的 sdk,源码下回来直接吐了,引入的几个类都是废弃的,再想找找是不是还有其他的文档,实在折腾。要不是业务需要,再也不想接 aliyun 了。
SDK很多 很全 , 是否可以补充一下文档

**您的功能请求是否与问题有关? 请描述一下。** 升级到php8后,安装sdk包失败。 ` Problem 1 - ralouphie/mimey 2.1.0 requires php ^5.4|^7.0 -> your php version (8.0.11) does not satisfy that requirement. - alibabacloud/alimt-20181012 1.0.1 requires alibabacloud/tea-oss-utils ^0.2.0 -> satisfiable...
请问新版sdk示例如何让返回信息显示中文 以及为什么在程序里使用sdk调用接口的时候不返回json或者xml数据而是直接抛异常
* **PHP 版本**: 7.4 (via Homebrew) * **平台**:MacOS * **产品名称**:Dts * **产品版本**:1.8.1074 * **API**:`Dts::v20200101()->describeDtsJobs` Received error as following: ``` ↘ Caused by [AlibabaCloud\Client\Exception\ServerException#400] MissingRegion: Region is mandatory for this action....