定制 kioskemploi/txtextcontrol-reportingcloud 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kioskemploi/txtextcontrol-reportingcloud

最新稳定版本:3.0.4

Composer 安装命令:

composer require kioskemploi/txtextcontrol-reportingcloud

包简介

PHP wrapper for ReportingCloud Web API. Authored and supported by Text Control GmbH.

README 文档

README

This is a fork for compatibility php5 + php7

Logo

ReportingCloud PHP Wrapper

Build Status Scrutinizer Code Quality Latest Stable Version composer.lock available

This is the official PHP wrapper for ReportingCloud Web API. It is authored and supported by Text Control GmbH.

Learn more about ReportingCloud at:

Minimum Requirements

The ReportingCloud PHP wrapper requires PHP 5.6 or newer. There are two technical reasons for this:

If your application is running in an older environment, it is highly advisable to update to a more current version of PHP.

If you are unable or unwilling to update your PHP installation, it is possible to use ReportingCloud by directly accessing the Web API without using this wrapper. In such cases, it is advisable to use the curl extension to make the API calls.

Install Using Composer

The recommended way to install the ReportingCloud PHP wrapper in your project is using Composer:

composer require textcontrol/txtextcontrol-reportingcloud:^1.0

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

You can then later update the ReportingCloud PHP wrapper using Composer:

composer update

and for best auto-loading performance consequently execute:

composer dump-autoload --optimize

API Key for Demos and Unit Tests

The ReportingCloud PHP wrapper ships with a number of sample applications (see directory /demo) and phpunit tests (see directory /test). The scripts in each of these directories require an API key for ReportingCloud in order to be executed. So that the API key is not made inadvertently publicly available via a public GIT repository, you will first need to specify it. There are two ways in which you can do this:

Using PHP Constants:

define('REPORTING_CLOUD_API_KEY', 'your-api-key');

Using Environmental Variables (For Example in .bashrc)

export REPORTING_CLOUD_API_KEY='your-api-key'

Note, these instructions apply only to the demo scripts and phpunit tests. When you use ReportingCloud in your application, set the API key in your constructor or by using the setApiKey($apiKey) methods. For an example, see /demo/instantiation.php.

Getting Started

As mentioned above, the ReportingCloud PHP wrapper ships with a number of sample applications (see directory /demo). These samples applications, which are well commented, have been written to demonstrate all parts of ReportingCloud.

We are currently working on comprehensive documentation for the ReportingCloud PHP wrapper, which will be published in the /doc directory, as and when it becomes available. In the meantime, please review the Text Control Blog, which contains many articles about ReportingCloud.

Getting Support

The official PHP wrapper for ReportingCloud Web API is supported by Text Control GmbH. To start a conversation with the PHP people in the ReportingCloud Support Department, please create a ticket, selecting ReportingCloud from the department selection list.

统计信息

  • 总下载量: 2.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2019-05-20