PHPackages                             suin/php-qiita - 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. [API Development](/categories/api)
4. /
5. suin/php-qiita

ActiveLibrary[API Development](/categories/api)

suin/php-qiita
==============

Qiita API library for PHP

1.0.0(13y ago)829MITPHPPHP &gt;=5.3.0

Since Oct 10Pushed 13y ago2 watchersCompare

[ Source](https://github.com/suin/php-qiita)[ Packagist](https://packagist.org/packages/suin/php-qiita)[ Docs](https://github.com/suin/php-qiita)[ RSS](/packages/suin-php-qiita/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP Qiita (v.1.0.0)
===================

[](#php-qiita-v100)

プログラマの技術情報共有サービス[Qiita](http://qiita.com/)の[Qiita API](http://qiita.com/docs)を扱うためのPHP向けライブラリ

The build status of the current master branch is tracked by Travis CI: [![Build Status](https://camo.githubusercontent.com/18adf18e0ee6fc39f5e87740c38770e1207a27ed1f0d23847074f0978ad9bdc8/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7375696e2f7068702d71696974612e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/suin/php-qiita)

要件
--

[](#要件)

- PHP 5.3 以上
- curl拡張

インストール
------

[](#インストール)

[Composer](https://github.com/composer/composer)経由でインストールします。

まず `composer.json` ファイルに下記を記述します:

```
{
	"require": {
		"suin/php-qiita": ">=1.0.0"
	}
}
```

composerを走らせてインストールします:

```
$ composer install

```

最後に、あなたのプロダクトで `vendor/autoload.php` をインクルードします:

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

```

使い方
---

[](#使い方)

```
$qiita = new Qiita(array(
	'username' => 'suin',
	'password' => 'p@ssW0rd',
));

try
{
	// ユーザ情報の取得
	$user = $qiita->api('/users/suin');

	// 投稿の実行
	$createdItem = $qiita->api('/items', 'POST', array(
		'title' => 'Qiita APIからのテスト投稿',
		'tags' => array(
			array('name' => 'Qiita'),
		),
		'body' => 'テスト投稿',
		'private' => false,
	));
}
catch ( Exception $e )
{
	error_log($e);
}
```

License
-------

[](#license)

php-qiita is licensed under the MIT License - see the LICENSE file for details

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4968d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/df0e4439766a9bc915e2db0e797f10f222b701133dd0c20fc2ddcc658078eb9f?d=identicon)[suin](/maintainers/suin)

---

Top Contributors

[![suin](https://avatars.githubusercontent.com/u/855338?v=4)](https://github.com/suin "suin (5 commits)")

---

Tags

apiqiita

### Embed Badge

![Health badge](/badges/suin-php-qiita/health.svg)

```
[![Health](https://phpackages.com/badges/suin-php-qiita/health.svg)](https://phpackages.com/packages/suin-php-qiita)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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