ghanem/themoviedb
Laravel package to seed TheMovieDB top-rated movies and genres into your database. Adds an Artisan command, optional queue support, configurable record count, and a /movies endpoint with customizable prefix/middleware. Supports scheduled runs via Laravel scheduler.
movies and genres table structure. Custom schemas would require manual overrides.THEMOVIEDB_ENABLE_QUEUE requires a proper queue worker setup (e.g., Redis, database queue)..env keys, migrations, and config publishing.num_of_records may not align with all use cases (e.g., seeding 1M records).tv_shows, people)?composer require ghanem/themoviedb.php artisan migrate).php artisan vendor:publish --provider="Ghanem\Themoviedb\ThemoviedbServiceProvider")..env:
THEMOVIEDB_KEY=your_api_key_here
THEMOVIEDB_NUM_OF_RECORDS=200
THEMOVIEDB_ENABLE_QUEUE=true # Optional
php artisan themoviedb:seed top_rated_movies.php artisan queue:work)./movies returns expected data.php artisan schedule:run) or cron job for periodic seeding.config/themoviedb.php..env, run migrations.THEMOVIEDB_NUM_OF_RECORDS=10)./movies endpoint.THEMOVIEDB_ENABLE_QUEUE=true)..env and published config handle most settings..env if API keys rotate.storage/logs/laravel.log).failed_jobs table if using Laravel queues.How can I help you explore Laravel packages today?