TCB 提供开发应用所需服务和基础设施。tcb-php-sdk 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 php 服务访问 TCB 的的服务。
需要 php7 及以上版本。
composer require tcb-php-sdk
国内使用时,可切换为国内镜像: composer config -g repo.packagist composer https://packagist.phpcomposer.com
tencent cloud base sdk for php
Home Page: https://packagist.org/packages/tencentcloudbase/tcb-php-sdk
License: Apache License 2.0
TCB 提供开发应用所需服务和基础设施。tcb-php-sdk 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 php 服务访问 TCB 的的服务。
需要 php7 及以上版本。
composer require tcb-php-sdk
国内使用时,可切换为国内镜像: composer config -g repo.packagist composer https://packagist.phpcomposer.com
getTempFileURL(object)函数单次请求fileList array长度不应超过50,否则会报错,而文档没有做出说明!
{
‘code’ => INVALID_PARAM,
'message' => 'Invalid request param',
}
作者你好,最近想把公司网站迁移到云开发上,然后会出现以下几点问题:
1、调用collection()获取的集合为空,但是数据库里是创建了集合的
2、调用get()返回这个错误:Recoverable fatal error: Object of class GuzzleHttp\Psr7\Request could not be converted to string in /var/user/tcb-admin-php/src/Utils/TcbBase.php on line 244
3、以上问题是不是跟我创建示例时只传了环境id有关?还是我用错了包?
您好,我使用laravel8安装时提示如下:
tencentcloudbase/tcb-php-sdk[1.0.0, ..., 1.0.2] require guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
因为laravel 要求 guzzlehttp/guzzle ^7.0.1,导致冲突,麻烦提高您的库guzzlehttp/guzzle的依赖要求,谢谢
$collection->add()
只能插入单条
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.