View source ↗
v0.2 · PHP 8.1+

AniList,
the PHP way.

A tiny typed client and fluent GraphQL query builder. Ask for exactly the anime data you need — without hand-building request plumbing every time.

Live AniList APIGraphQL v2
01 — Installation

One package. No ceremony.

terminal
$ composer config repositories.aniphp vcs https://gitlab.com/anilist1/aniphp.git
$ composer require sempoinus/aniphp:dev-main
03 — Query builder

GraphQL stays readable.

Compose variables, operations and nested fields fluently. The generated document can be sent through AnimeRepository.

Typed variablesInt, String and array helpers prevent malformed signatures.
Mapped resultsWork with PHP models instead of nested anonymous arrays.
Small surfaceNo framework boot process is required for public queries.
04 — Live playground

Try the package now.

This form runs AnimeRepository::search() on this server against the live AniList GraphQL API.

Run a search to see typed results.