Download the PHP package cloudycity/tencent-marketing-sdk without Composer

On this page you can find all versions of the php package cloudycity/tencent-marketing-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tencent-marketing-sdk

广点通SDK

Latest Version on Packagist Build Status StyleCI Quality Score Total Downloads standard-readme compliant

简体中文 | English

内容列表

简介

当前支持的API版本: v1.1

本仓库从 MrSuperLi/tencent-marketing-api-php-sdk 分支

相较于原仓库上的改动:

  1. 集成授权
  2. 客户端传入advertiser_id参数
  3. 客户端按业务(资源)模块调用
  4. 请求参数支持数组
  5. 支持多种响应类型
  6. 使用PSR-2

安装

composer install cloudycity/tencent-marketing-sdk

使用说明

授权

基础调用

广点通接口格式统一为: 资源/动作

接口示例:

资源对应Client对象中的属性,动作对应属性中的方法

调用示例:

请求参数与响应类型

自动翻页

BaseClient::getAllPages()通过Generator实现翻页逻辑.

工厂

如果API更新出现了新的资源名称,但是SDK版本未更新,Client对象将找不到对应的成员属性。 此时你可以通过工厂类获取一个BaseClient实例,建议同时提交新Issue让我给Client添加新的成员属性。

维护者

如何贡献

非常欢迎你的加入!提一个 Issue 或者提交一个 Pull Request。

标准 Readme 遵循 Contributor Covenant 行为规范。

使用许可

MIT © CloudyCity


All versions of tencent-marketing-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
guzzlehttp/guzzle Version ^6.2
nesbot/carbon Version ~1.0
doctrine/collections Version ~1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cloudycity/tencent-marketing-sdk contains the following files

Loading the files please wait ....