PHPackages                             kokororin/pixiv-api-php - 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. kokororin/pixiv-api-php

ActiveLibrary[API Development](/categories/api)

kokororin/pixiv-api-php
=======================

Pixiv API for PHP (with Auth supported)

v1.1(10y ago)8168914MIT LicensePHPCI failing

Since Feb 16Pushed 4y ago4 watchersCompare

[ Source](https://github.com/kokororin/pixiv-api-php)[ Packagist](https://packagist.org/packages/kokororin/pixiv-api-php)[ Docs](https://github.com/kokororin/pixiv-api-php)[ RSS](/packages/kokororin-pixiv-api-php/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

pixiv-api-php
=============

[](#pixiv-api-php)

[![Build Status](https://camo.githubusercontent.com/674f8717f879f3f5ac1d5f4baa7b83d9daead8553f9b478585d1e4261758eb33/68747470733a2f2f6170692e7472617669732d63692e6f72672f6b6f6b6f726f72696e2f70697869762d6170692d7068702e737667)](https://travis-ci.org/kokororin/pixiv-api-php)[![Packagist](https://camo.githubusercontent.com/623ef1106c5a3bb7fbee4aebabd239e36b87bbb715824993dcfc8a3fd3642fb4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f6b6f726f72696e2f70697869762d6170692d7068702e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/kokororin/pixiv-api-php)

*Pixiv API for PHP (with Auth supported)*

### Installation

[](#installation)

```
composer require kokororin/pixiv-api-php:dev-master
```

### Example:

[](#example)

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

$api = new PixivAppAPI;
# running some methods
$api->method();
```

Tests
-----

[](#tests)

To execute the test suite, you'll need phpunit.

```
$ PIXIV_USERNAME=XXX PIXIV_PASSWORD=XXX composer test
```

API
---

[](#api)

### PixivAppAPI

[](#pixivappapi)

**ALL METHODS need authentication.**
See [PixivAppAPI.php](https://github.com/kokororin/pixiv-api-php/blob/master/PixivAppAPI.php) or [PixivAppAPITest.php](https://github.com/kokororin/pixiv-api-php/blob/master/tests/PixivAppAPITest.php) for detail usage.

### PixivAPI (**deprecated**)

[](#pixivapi-deprecated)

**Some methods need authentication.**
See [PixivAPI.php](https://github.com/kokororin/pixiv-api-php/blob/master/PixivAPI.php) or [PixivAPITest.php](https://github.com/kokororin/pixiv-api-php/blob/master/tests/PixivAPITest.php) for detail usage.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 96.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 ~114 days

Total

2

Last Release

3673d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10093992?v=4)[そら](/maintainers/kokororin)[@kokororin](https://github.com/kokororin)

---

Top Contributors

[![kokororin](https://avatars.githubusercontent.com/u/10093992?v=4)](https://github.com/kokororin "kokororin (30 commits)")[![cheppizzadrakon](https://avatars.githubusercontent.com/u/23419000?v=4)](https://github.com/cheppizzadrakon "cheppizzadrakon (1 commits)")

---

Tags

pixivpixiv-apiphpapiPixiv

### Embed Badge

![Health badge](/badges/kokororin-pixiv-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/kokororin-pixiv-api-php/health.svg)](https://phpackages.com/packages/kokororin-pixiv-api-php)
```

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

138110.7k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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