2017 © Pedro Peláez
 

library cybozu-http

A PHP HTTP client library for cybozu.com API (kintone API and User API)

image

ochi51/cybozu-http

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  • Wednesday, April 25, 2018
  • by ochi51
  • Repository
  • 4 Watchers
  • 8 Stars
  • 9,670 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 24 Versions
  • 7 % Grown

The README.md

Cybozu HTTP client for PHPSoftware License

Circle CI Scrutinizer Code Quality Code Coverage Build Status, (*1)

Cybozu HTTP is a PHP HTTP client library for cybozu.com API., (*2)

cybozu.com API Documentation

Japanese English, (*3)

Available API

  • kintone API
  • User API

If you want to use Garoon API, please send Pull Request., (*4)

Requirements

  • PHP >=7.1
  • Composer
  • To use the PHP stream handler, allow_url_fopen must be enabled in your system's php.ini.
  • To use the cURL handler, you must have a recent version of cURL >= 7.19.4 compiled with OpenSSL and zlib.

Installation

The recommended way to install Cybozu HTTP is with Composer. Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project., (*5)

```{.bash} $ curl -sS https://getcomposer.org/installer | php $ mv composer.phar /usr/local/bin/composer, (*6)


You can add Cybozu HTTP as a dependency using the composer ```{.bash} $ composer require ochi51/cybozu-http

Alternatively, you can specify Cybozu HTTP as a dependency in your project's existing composer.json file:, (*7)

```{.json} { "require": { "ochi51/cybozu-http": "^1.4" } }, (*8)


After installing, you need to require Composer's autoloader: ```{.php} require 'vendor/autoload.php';

Quick start

```{.php} $api = new \CybozuHttp\Api\KintoneApi(new \CybozuHttp\Client([ 'domain' => 'cybozu.com', 'subdomain' => 'your-subdomain', 'login' => 'your-login-name', 'password' => 'your-password', ]));, (*9)

// get record that kintone app id is 100 and record id is 1.
$record = $api->record()->get(100, 1);

Usage ------------ @todo Testing ------------ To run the tests, you need to following process. - Prepare your kintone account. - Free trial is [here](https://www.cybozu.com/jp/service/com/trial/?fcode=F00000081) - Create kintone space template. (Enable multiple thread) - Create graph. - Edit `parameters.yml`. Run the following command from the project folder. ```{.bash} $ php ./bin/phpunit

TODO

  • Japanese documentation.

License

The MIT License (MIT). Please see LICENSE for more information., (*10)

The Versions

25/04 2018

dev-master

9999999-dev

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

25/04 2018

1.4.1

1.4.1.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

25/04 2018

dev-fix-file-post

dev-fix-file-post

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

29/03 2018

1.4.0

1.4.0.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

29/03 2018

dev-response_middleware

dev-response_middleware

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

14/03 2018

1.3.2

1.3.2.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

10/12 2017

1.3.1

1.3.1.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

07/12 2017

1.3.0

1.3.0.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

30/10 2017

1.2.0

1.2.0.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

27/10 2017

1.1.4

1.1.4.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

26/10 2017

1.1.3

1.1.3.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

18/10 2017

1.1.2

1.1.2.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

17/08 2017

1.1.1

1.1.1.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

04/01 2017

1.1.0

1.1.0.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

27/10 2016

1.0.0

1.0.0.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

24/10 2016

0.1.8

0.1.8.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

08/06 2016

0.1.7

0.1.7.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

30/05 2016

0.1.6

0.1.6.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

05/12 2015

0.1.5

0.1.5.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

02/12 2015

0.1.4

0.1.4.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

01/12 2015

0.1.3

0.1.3.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

16/10 2015

0.1.2

0.1.2.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

04/10 2015

0.1.1

0.1.1.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai

04/10 2015

0.1.0

0.1.0.0

A PHP HTTP client library for cybozu.com API (kintone API and User API)

  Sources   Download

The Requires

 

The Development Requires

by Yuichi Ochiai