PHPackages                             animelist/mal-api - 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. animelist/mal-api

AbandonedLibrary[API Development](/categories/api)

animelist/mal-api
=================

MyAnimeList.net (un)official API

1.0.2(9y ago)1285BSD-3-ClausePHPPHP &gt;=5.5.0

Since Nov 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/animelist/mal-api)[ Packagist](https://packagist.org/packages/animelist/mal-api)[ RSS](/packages/animelist-mal-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

MAL-api
=======

[](#mal-api)

Anime API for MyAnimeList.net written in PHP

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

[](#installation)

```
$ composer require animelist/mal-api
```

Usage
-----

[](#usage)

Obtain anime information:

```
require __DIR__ . '/vendor/autoload.php';
$api = new MalApi\Api;
$url = 'https://myanimelist.net/anime/1/Cowboy_Bebop';
$anime = $api->getAnime($url);
echo 'Anime id: ' . $anime->getExternalId() . '';
var_dump($anime);
```

Add and update:

```
require __DIR__ . '/vendor/autoload.php';
$api = new MalApi\Api;
$api->setAuth('user', 'password');
$api->add(['id' => 1, 'status' => $api::STATUS_PLAN_TO_WATCH]);
$api->update(['id' => 1, 'status' => $api::STATUS_WATCHING, 'episode' => 1]);
```

Delete:

```
require __DIR__ . '/vendor/autoload.php';
$api = new MalApi\Api;
$api->setAuth('user', 'password');
$api->delete(1);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~3 days

Total

3

Last Release

3456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d4ebc20c71bc70d4970a70a5727416eb8e9cd310e282e225991f516408017c0?d=identicon)[ntan](/maintainers/ntan)

---

Tags

apiunofficialofficialmyanimelistMyAnimeList.netanimelist

### Embed Badge

![Health badge](/badges/animelist-mal-api/health.svg)

```
[![Health](https://phpackages.com/badges/animelist-mal-api/health.svg)](https://phpackages.com/packages/animelist-mal-api)
```

###  Alternatives

[kunalvarma05/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

3633.0M18](/packages/kunalvarma05-dropbox-php-sdk)[jeffreyhyer/bamboohr

PHP SDK for the BambooHR API

1077.3k1](/packages/jeffreyhyer-bamboohr)

PHPackages © 2026

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