PHPackages                             alanly/traktor - 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. alanly/traktor

AbandonedLibrary[API Development](/categories/api)

alanly/traktor
==============

A Trakt.tv API client library in PHP, compatible with PSR-4 and Composer.

v0.1.0(11y ago)625.1k6MITPHPPHP &gt;=5.4

Since Jun 27Pushed 8y agoCompare

[ Source](https://github.com/alanly/traktor)[ Packagist](https://packagist.org/packages/alanly/traktor)[ Docs](https://github.com/alanly/traktor)[ RSS](/packages/alanly-traktor/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Traktor
=======

[](#traktor)

[![Build Status - Master](https://camo.githubusercontent.com/d3124ad337ef379a4ff4208b9b823a896c41bad86aafa733adc8ad8908817f78/68747470733a2f2f6170692e7472617669732d63692e6f72672f616c616e6c792f7472616b746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alanly/traktor)

Traktor is a simple PHP client for the Trakt.tv API service, that allows you to cleanly integrate the data available on Trakt into your application.

Currently, it supports only non-developer and GET-based API methods. It makes use of the GuzzleHttp library and requires the use of PHP 5.4 or above.

It aims to be fairly basic and simple to use:

```
$traktor = new Traktor\Client;
$traktor->setApiKey('foobar');
$summary = $traktor->get('movie.summary', ['the-social-network-2010']);
echo $summary->imdb_id;
// "tt1285016"
echo $summary->tagline;
// "You don't get to 500 million friends without making a few enemies"
```

```
$traktor = new Traktor\Client;
$traktor->setApiKey('foobar');
$summary = $traktor->get('show.episode.summary', ['silicon-valley', 1, 3]);
echo $summary->show->title;
// "Silicon Valley"
echo $summary->episode->season;
// 1
echo $summary->episode->number;
// 3
echo $summary->episode->title;
// "Articles of Incorporation"
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7bb980c00406eb06cf45af6f209005e6a183c2dbaba0c63596e70fec7136edb6?d=identicon)[alanly](/maintainers/alanly)

---

Top Contributors

[![alanly](https://avatars.githubusercontent.com/u/1526057?v=4)](https://github.com/alanly "alanly (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alanly-traktor/health.svg)

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

###  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)
