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(9y ago)611.4k↓88.6%3[1 issues](https://github.com/Kryptonit3/Sonarr/issues)MITPHPCI failing

Since Feb 6Pushed 6y ago1 watchersCompare

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

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

35

—

LowBetter than 77% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity28

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

3290d 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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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