PHPackages                             devmachine/guzzle-rottentomatoes-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. devmachine/guzzle-rottentomatoes-client

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

devmachine/guzzle-rottentomatoes-client
=======================================

Guzzle client for RottenTomatoes API - http://developer.rottentomatoes.com.

1.0.1(11y ago)054011MITPHPPHP &gt;=5.4.0

Since Jun 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/lakiboy/guzzle-rottentomatoes-client)[ Packagist](https://packagist.org/packages/devmachine/guzzle-rottentomatoes-client)[ Docs](http://devmachine.net)[ RSS](/packages/devmachine-guzzle-rottentomatoes-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

Guzzle Client for Rotten Tomatoes API
=====================================

[](#guzzle-client-for-rotten-tomatoes-api)

[![Build Status](https://camo.githubusercontent.com/5c6a7c30c2e8ce81409728ec53396b7ec549b0d9a0630054a7b3913150ce72da/68747470733a2f2f7472617669732d63692e6f72672f6465762d6d616368696e652f67757a7a6c652d726f7474656e746f6d61746f65732d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dev-machine/guzzle-rottentomatoes-client)

Guzzle client for [TottenTomatoes](http://www.rottentomatoes.com) API.

#### Description

[](#description)

A simple client for RottenTomatoes made with Guzzle 4. [Guzzle Services](https://github.com/guzzle/guzzle-services) is under heavy development, hence this client does not provide some handy features like *Resource Iterators* (pagination) existed in Guzzle 3.

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

[](#installation)

This library can be installed using Composer. Add the following to your composer.json:

```
{
    "require": {
        "devmachine/guzzle-rottentomatoes-client": "1.0.*"
    }
}
```

Sample usage
------------

[](#sample-usage)

```
use Devmachine\Guzzle\RottenTomatoes\RottenTomatoesClient;

$client = RottenTomatoesClient::factory('');
$result = $client->movies(['q' => 'Terminator 3']);

var_dump($result['movies']);
```

Sample output:

```
array(1) {
  [0] =>
  array(13) {
    'id' =>
    string(5) "13049"
    'title' =>
    string(35) "Terminator 3 - Rise of the Machines"
    'year' =>
    int(2003)
    'mpaa_rating' =>
    string(1) "R"
    'runtime' =>
    int(109)
    'critics_consensus' =>
    string(112) "Although T3 never reaches the heights of the second movie, it is a welcome addition to the Terminator franchise."
    'release_dates' =>
    array(2) {
      'theater' =>
      string(10) "2003-12-31"
      'dvd' =>
      string(10) "2003-11-11"
    }
    'ratings' =>
    array(4) {
      'critics_rating' =>
      string(5) "Fresh"
      'critics_score' =>
      int(70)
      'audience_rating' =>
      string(7) "Spilled"
      'audience_score' =>
      int(47)
    }
    'synopsis' =>
    string(0) ""
    'posters' =>
    array(4) {
      'thumbnail' =>
      string(60) "http://content7.flixster.com/movie/10/94/47/10944773_mob.jpg"
      'profile' =>
      string(60) "http://content7.flixster.com/movie/10/94/47/10944773_pro.jpg"
      'detailed' =>
      string(60) "http://content7.flixster.com/movie/10/94/47/10944773_det.jpg"
      'original' =>
      string(60) "http://content7.flixster.com/movie/10/94/47/10944773_ori.jpg"
    }
    'abridged_cast' =>
    array(5) {
      ...
    }
    'alternate_ids' =>
    array(1) {
      'imdb' =>
      string(7) "0181852"
    }
    'links' =>
    array(6) {
      ...
    }
  }
}

```

API methods
-----------

[](#api-methods)

Please use [interractive documentation](http://developer.rottentomatoes.com/io-docs) to get list of available API endpoints and corresponding parameters. Below you can find the list of appropriate client methods.

```
use Devmachine\Guzzle\RottenTomatoes\RottenTomatoesClient;

$client = RottenTomatoesClient::factory('');

// Movies
$client->movies();
$client->moviesBoxOffice();
$client->moviesOpening();
$client->moviesInTheaters();
$client->moviesUpcoming();

// Individual movie
$client->movie();
$client->movieCast();
$client->movieClips();
$client->movieReviews();
$client->movieSimilar();
$client->movieAlias();

// DVDs
$client->dvdsTopRentals();
$client->dvdsCurrentReleases();
$client->dvdsNewReleases();
$client->dvdsUpcoming();

// Lists
$client->lists();
$client->listsMovies();
$client->listsDVDs();
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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

Every ~278 days

Total

2

Last Release

4130d ago

### Community

Maintainers

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

---

Top Contributors

[![lakiboy](https://avatars.githubusercontent.com/u/1089265?v=4)](https://github.com/lakiboy "lakiboy (7 commits)")

---

Tags

apiGuzzlerottentomatoes

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/devmachine-guzzle-rottentomatoes-client/health.svg)

```
[![Health](https://phpackages.com/badges/devmachine-guzzle-rottentomatoes-client/health.svg)](https://phpackages.com/packages/devmachine-guzzle-rottentomatoes-client)
```

###  Alternatives

[ajt/guzzle-toggl

Toggl API client written on top of Guzzle PHP.

8926.4k2](/packages/ajt-guzzle-toggl)[antoinelemaire/aircall-php

Aircall API client built on top of Guzzle 6

1050.5k](/packages/antoinelemaire-aircall-php)[openapi/openapi-sdk

Minimal and agnostic PHP SDK for Openapi® (https://openapi.com)

171.4k1](/packages/openapi-openapi-sdk)

PHPackages © 2026

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