PHPackages                             kryptonit3/sonarr - 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. kryptonit3/sonarr

ActiveLibrary[API Development](/categories/api)

kryptonit3/sonarr
=================

PHP Sonarr API Wrapper

1.0.6.1(8y ago)611.2k↓20%3[1 issues](https://github.com/Kryptonit3/Sonarr/issues)MITPHP

Since Feb 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Kryptonit3/Sonarr)[ Packagist](https://packagist.org/packages/kryptonit3/sonarr)[ RSS](/packages/kryptonit3-sonarr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (10)Used By (0)

Sonarr
======

[](#sonarr)

PHP Wrapper for Sonarr

Here is the Sonarr API Documentation that this package implements:

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

[](#installation)

```
composer require kryptonit3/sonarr
```

Example Usage
-------------

[](#example-usage)

```
use Kryptonit3\Sonarr\Sonarr;
```

```
public function addSeries()
{
    $sonarr = new Sonarr('http://127.0.0.1:8989', 'cf7544f71b6c4efcbb84b49011fc965c'); // URL and API Key

    return $sonarr->postSeries([
        'tvdbId' => 73739,
        'title' => 'Lost',
        'qualityProfileId' => 3, // HD-720p
        'rootFolderPath' => '/volume1/Plex/Shows'
    ]);
}
```

### HTTP Auth

[](#http-auth)

If your site requires HTTP Auth username and password you may supply it like this. Please note, if you are using HTTP Auth without SSL you are sending your username and password unprotected across the internet.

```
$sonarr = new Sonarr('http://127.0.0.1:8989', 'cf7544f71b6c4efcbb84b49011fc965c', 'my-username', 'my-password');
```

### Output

[](#output)

```
{
  "title": "Lost",
  "alternateTitles": [

  ],
  "sortTitle": "lost",
  "seasonCount": 0,
  "totalEpisodeCount": 0,
  "episodeCount": 0,
  "episodeFileCount": 0,
  "sizeOnDisk": 0,
  "status": "continuing",
  "images": [

  ],
  "seasons": [

  ],
  "year": 0,
  "path": "\/volume1\/Plex\/Shows\/Lost",
  "profileId": 3,
  "seasonFolder": true,
  "monitored": true,
  "useSceneNumbering": false,
  "runtime": 0,
  "tvdbId": 73739,
  "tvRageId": 0,
  "tvMazeId": 0,
  "seriesType": "standard",
  "cleanTitle": "lost",
  "genres": [

  ],
  "tags": [

  ],
  "added": "2016-02-06T18:11:26.475637Z",
  "addOptions": {
    "searchForMissingEpisodes": false,
    "ignoreEpisodesWithFiles": true,
    "ignoreEpisodesWithoutFiles": true
  },
  "qualityProfileId": 3,
  "id": 90
}
```

For available methods reference included [Sonarr::class](src/Sonarr.php)

Note: when posting data with key =&gt; value pairs, keys are case-sensitive.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% 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 ~73 days

Recently: every ~127 days

Total

8

Last Release

3245d ago

### Community

Maintainers

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

---

Top Contributors

[![Kryptonit3](https://avatars.githubusercontent.com/u/72818445?v=4)](https://github.com/Kryptonit3 "Kryptonit3 (21 commits)")[![d8ahazard](https://avatars.githubusercontent.com/u/1633844?v=4)](https://github.com/d8ahazard "d8ahazard (2 commits)")

### Embed Badge

![Health badge](/badges/kryptonit3-sonarr/health.svg)

```
[![Health](https://phpackages.com/badges/kryptonit3-sonarr/health.svg)](https://phpackages.com/packages/kryptonit3-sonarr)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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