PHPackages                             ghanem/themoviedb - 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. ghanem/themoviedb

ActiveLaravel-package[API Development](/categories/api)

ghanem/themoviedb
=================

schedule movie seeder API Service from https://www.themoviedb.org

v1.0.1(5y ago)17MITPHPPHP ^7.3|^8.0

Since Apr 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/AbdullahGhanem/themoviedb)[ Packagist](https://packagist.org/packages/ghanem/themoviedb)[ RSS](/packages/ghanem-themoviedb/feed)WikiDiscussions main Synced today

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

Laravel Package for Seed themoviedb
===================================

[](#laravel-package-for-seed-themoviedb)

[![Total Downloads](https://camo.githubusercontent.com/f964cf9f6728d761e34266bdff6757b0267292eeec1c80ddc08bbf08f6097f22/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6768616e656d2f7468656d6f76696564622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ghanem/themoviedb)

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

[](#installation)

You can install the package via composer:

```
composer require ghanem/themoviedb
```

first you should run migration it will make migration

```
php artisan migrate
```

now you need to publish the config file with:

```
php artisan vendor:publish --provider="Ghanem\Themoviedb\ThemoviedbServiceProvider" --tag="config"
```

Integration
-----------

[](#integration)

first you need to create account in [themoviedb](https://www.themoviedb.org/) and submit to get key

in **.env** add your key

```
THEMOVIEDB_KEY=5ff64c4b2fa1a61026e627a62XxXxX
```

Seed Movies
-----------

[](#seed-movies)

this package create command to seed Movies and Genres

```
php artisan themoviedb:seed top_rated_movies
```

to change Number of Records in **.env** add your num\_of\_records

```
THEMOVIEDB_NUM_OF_RECORDS=95
```

> by default 100 recourds

to use laravel Queue to handle the seeder task just enable it in **.env**:

```
THEMOVIEDB_ENABLE_QUEUE=true
```

> by default false

Endpoint Movies
---------------

[](#endpoint-movies)

you can access Endpoint form

```
{domian}/movies
```

if you need add prefix or midlware just open **config/themoviedb.php**

```
return [
     ....
    'prefix' => '/',
    'middleware' => ['web'],
];
```

schedule seed movies
--------------------

[](#schedule-seed-movies)

to schedule seed movies we need to use **php cron job** and laravel Task Scheduling. in `app/Console/Kernel.php` file's `schedule` method just add

```
     $schedule->command('themoviedb:seed top_rated_movies --force')->daily();
```

and can change daily to ather method that laravel accepts [here](https://laravel.com/docs/5.8/scheduling#schedule-frequency-options)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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 ~0 days

Total

2

Last Release

1888d ago

### Community

Maintainers

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

---

Top Contributors

[![AbdullahGhanem](https://avatars.githubusercontent.com/u/5055892?v=4)](https://github.com/AbdullahGhanem "AbdullahGhanem (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ghanem-themoviedb/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

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

TencentCloudApi php sdk

3741.3M46](/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)[files.com/files-php-sdk

Files.com PHP SDK

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

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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