PHPackages                             joearcher/tomatoes - 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. joearcher/tomatoes

ActiveApi[API Development](/categories/api)

joearcher/tomatoes
==================

Rotten Tomatoes API wrapper for Laravel 5

0.1(11y ago)271MITPHP

Since Feb 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/joearcher/Tomatoes)[ Packagist](https://packagist.org/packages/joearcher/tomatoes)[ RSS](/packages/joearcher-tomatoes/feed)WikiDiscussions master Synced 1mo ago

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

Tomatoes
========

[](#tomatoes)

Simple Rotten Tomatoes API wrapper for Laravel 5

### Setup

[](#setup)

Require this package in composer.json and run `composer update`

```
"joearcher/tomatoes": "dev-master"
```

After updating add the ServiceProvider the the providers array in `app/config/app.php`

```
'Joearcher\Tomatoes\TomatoesServiceProvider',
```

And then you can add the facade to the Facades array

```
'Tomatoes' =>	'Joearcher\Tomatoes\Facades\Tomatoes',
```

Publish the config

```
artisan vendor:publish
```

This creates a `tomatoes.php` file in `app/config`

Add your api key to `tomatoes.php`

```
'apikey' => ''
```

Usage
-----

[](#usage)

Available endpoints:

- Search - api.rottentomatoes.com/api/public/v1.0/movies.json
- Movie info - api.rottentomatoes.com/api/public/v1.0/movies/\[movie\_id\].json
- Movie cast - api.rottentomatoes.com/api/public/v1.0/movies/\[movie\_id\]/cast.json
- Movie reviews - api.rottentomatoes.com/api/public/v1.0/movies/\[movie\_id\]/reviews.json
- Similar movies - api.rottentomatoes.com/api/public/v1.0/movies/\[movie\_id\]/similar.json

All requests return an `array()`.

Search
------

[](#search)

Search queries can be returned as pages of results, pagination can be performed with the 2nd and 3rd parameters, though they are optional.

Performing a basic search:

```
Tomatoes::search("Terminator");
```

Will return all results for the given search term.

To search for the term "war" limiting to 10 results per page and viewing page 2 of the results:

```
Tomatoes::search("war",10,2);
```

**Results are ordered by most recent release date first, this is set by the API and cannot be changed.**

Movie info
----------

[](#movie-info)

Further information on a specific movie by it's ID:

```
Tomatoes::movie(771245718);
```

Will return the detailed information for 'Django Unchained'

Other info
----------

[](#other-info)

The remaining endpoints take the same format:

```
Tomatoes::cast(771245718);

Tomatoes::reviews(771245718);

Tomatoes::similar(771245718);
```

Thanks
------

[](#thanks)

Made possible by the awesome [Guzzle Http client](https://github.com/guzzle/guzzle)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

4096d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99ad782067320fdd2719e9e55889ae0ccbd9c2f727ff2989e708b1fe5ae25327?d=identicon)[joe\_archer](/maintainers/joe_archer)

---

Top Contributors

[![joearcher](https://avatars.githubusercontent.com/u/1125046?v=4)](https://github.com/joearcher "joearcher (15 commits)")

### Embed Badge

![Health badge](/badges/joearcher-tomatoes/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[nickurt/laravel-postcodeapi

Universal PostcodeApi for Laravel 11.x/12.x/13.x

97221.2k](/packages/nickurt-laravel-postcodeapi)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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