Giter Site home page Giter Site logo

tcb-sdk-php's Introduction

Tencent Cloud Base(TCB) php SDK

目录

介绍

TCB 提供开发应用所需服务和基础设施。tcb-php-sdk 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 php 服务访问 TCB 的的服务。

需要 php7 及以上版本。

安装

composer require tcb-php-sdk

国内使用时,可切换为国内镜像: composer config -g repo.packagist composer https://packagist.phpcomposer.com

开发指引

如何使用 php-sdk 开发 php 云函数

文档

tcb-sdk-php's People

Contributors

1skip avatar butonly avatar dongyuanxin avatar justan avatar mrjing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tcb-sdk-php's Issues

云函数访问同环境下的数据库会报错

作者你好,最近想把公司网站迁移到云开发上,然后会出现以下几点问题:
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安装时提示

您好,我使用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的依赖要求,谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.