PHPackages                             ochi51/cybozu-http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. ochi51/cybozu-http

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ochi51/cybozu-http
==================

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

1.7.0(2y ago)27208.1k↓43.2%16[3 issues](https://github.com/ochi51/cybozu-http/issues)[1 PRs](https://github.com/ochi51/cybozu-http/pulls)1PHPPHP &gt;=8.1

Since Oct 4Pushed 2y ago3 watchersCompare

[ Source](https://github.com/ochi51/cybozu-http)[ Packagist](https://packagist.org/packages/ochi51/cybozu-http)[ RSS](/packages/ochi51-cybozu-http/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (6)Versions (52)Used By (1)

Cybozu HTTP client for PHP[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/ochi51/cybozu-http/tree/master/LICENSE)
====================================================================================================================================================================================================================================================================================================================================================================

[](#cybozu-http-client-for-php)

[![Circle CI](https://camo.githubusercontent.com/72fb03d0e86a7499565ec6303da89743f8b869e3841ca44c50cc7261682c834e/68747470733a2f2f636972636c6563692e636f6d2f67682f6f63686935312f6379626f7a752d687474702f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/ochi51/cybozu-http/tree/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fbfb8e0994e820055c4ad2506acbe60e249f8eacf33d04dca46b95f30aa00b13/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f63686935312f6379626f7a752d687474702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ochi51/cybozu-http/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/fe13ea0fb9de36fd2ec927ac977f0cb91e148dfede7a6fe62ac33ab7b788374f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f63686935312f6379626f7a752d687474702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ochi51/cybozu-http/?branch=master)[![Build Status](https://camo.githubusercontent.com/fb603d66e06d6abf8b3589f1b2aea807f08fac5121892396bcbd6ae4720b2e4d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f63686935312f6379626f7a752d687474702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ochi51/cybozu-http/build-status/master)

Cybozu HTTP is a PHP HTTP client library for cybozu.com API.

cybozu.com API Documentation
----------------------------

[](#cybozucom-api-documentation)

[Japanese](https://cybozudev.zendesk.com/hc/ja)[English](https://developer.kintone.io/hc/en-us)

Available API
-------------

[](#available-api)

- kintone API
- User API

If you want to use Garoon API, please send Pull Request.

Requirements
------------

[](#requirements)

- PHP &gt;=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 &gt;= 7.19.4 compiled with OpenSSL and zlib.

Installation
------------

[](#installation)

The recommended way to install Cybozu HTTP is with [Composer](https://getcomposer.org/). Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project.

```
    $ curl -sS https://getcomposer.org/installer | php
    $ mv composer.phar /usr/local/bin/composer

```

You can add Cybozu HTTP as a dependency using the composer

```
    $ composer require ochi51/cybozu-http

```

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

```
    {
       "require": {
          "ochi51/cybozu-http": "^1.4"
       }
    }

```

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

```
    require 'vendor/autoload.php';

```

Quick start
-----------

[](#quick-start)

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

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

```

Usage
-----

[](#usage)

@todo

Testing
-------

[](#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.

```
    $ php ./bin/phpunit

```

TODO
----

[](#todo)

- Japanese documentation.

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 78.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~63 days

Recently: every ~160 days

Total

51

Last Release

782d ago

Major Versions

0.1.8 → 1.0.02016-10-27

0.1.9 → 1.0.12019-01-17

0.1.10 → 1.4.52019-01-18

0.1.11 → 1.0.x-dev2019-01-23

PHP version history (3 changes)0.1.0PHP &gt;=5.5.0

1.4.5PHP &gt;=7.1

1.7.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/814e67cd6c6292ee10bea92326710af75487c5ff3c9b451bf3b5f6121016f79d?d=identicon)[ochi51](/maintainers/ochi51)

---

Top Contributors

[![ochi51](https://avatars.githubusercontent.com/u/5582393?v=4)](https://github.com/ochi51 "ochi51 (123 commits)")[![Atsushi-Eda](https://avatars.githubusercontent.com/u/28709061?v=4)](https://github.com/Atsushi-Eda "Atsushi-Eda (18 commits)")[![mzkiskw](https://avatars.githubusercontent.com/u/51148451?v=4)](https://github.com/mzkiskw "mzkiskw (7 commits)")[![rafa0805](https://avatars.githubusercontent.com/u/62470336?v=4)](https://github.com/rafa0805 "rafa0805 (4 commits)")[![tommynovember7](https://avatars.githubusercontent.com/u/2617714?v=4)](https://github.com/tommynovember7 "tommynovember7 (2 commits)")[![kebhr](https://avatars.githubusercontent.com/u/42484226?v=4)](https://github.com/kebhr "kebhr (1 commits)")[![ishikawam](https://avatars.githubusercontent.com/u/1132355?v=4)](https://github.com/ishikawam "ishikawam (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ochi51-cybozu-http/health.svg)

```
[![Health](https://phpackages.com/badges/ochi51-cybozu-http/health.svg)](https://phpackages.com/packages/ochi51-cybozu-http)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[guzzlehttp/guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.

25711.0M191](/packages/guzzlehttp-guzzle-services)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
