Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Tmdb Symfony

Tmdb Symfony Laravel Package

rewrewby/tmdb-symfony

TMDB Symfony is a lightweight client for The Movie Database API, giving Symfony apps easy access to movie, TV, and people data through a clean, framework-friendly integration with simple configuration and PSR-compliant HTTP calls.

View on GitHub
Deep Wiki
Context7

Symfony2 Bundle for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

Frequently asked questions about Tmdb Symfony
How do I install rewrewby/tmdb-symfony with Composer?
Install it with Composer using composer require rewrewby/tmdb-symfony. Then configure your TMDb API key and service definitions in your Symfony application. No Laravel service provider is included because this is a Symfony-focused package.
How do I configure my TMDb API key in Symfony?
The package is configured through Symfony service definitions. You provide your TMDb API key in the service configuration and inject the client where needed. Check the repository README for the exact service definition and environment variable naming.
Can I use rewrewby/tmdb-symfony in a Laravel application?
It is built for Symfony rather than as a native Laravel package, so it does not provide Laravel auto-discovery or a service provider. However, the service layer is PSR-compatible and framework-agnostic, so you can instantiate and configure it manually in Laravel. For a more Laravel-native experience, consider a dedicated Laravel TMDb wrapper.
Which Laravel versions is this package compatible with?
There is no Laravel version constraint because this package targets Symfony and does not ship Laravel-specific integration code. Compatibility in a Laravel app depends on your PHP version and the Symfony HttpClient dependencies required by the package. Verify those Composer constraints before installing it in a Laravel project.
What TMDb endpoints can I query with this package?
The package provides clean access to popular TMDb endpoints for movies, TV shows, people, and trending titles. It is designed to avoid boilerplate HTTP code for common metadata lookups. Review the client methods in the repository for the complete endpoint list.
Does rewrewby/tmdb-symfony support caching to reduce TMDb API calls?
Yes, the package includes optional caching support intended to reduce repeated TMDb API calls. In Symfony, you enable and configure caching through the service setup. In Laravel, you may need to wire the framework-agnostic client through your own cache adapter because there is no Laravel-native integration.
How do I test TMDb API calls without hitting the real API?
The package is built on Symfony HttpClient, which makes mocking and testing straightforward. Inject a mocked HttpClient or test double into the client service in your test suite. In Laravel, you can bind the mocked client through the container.
Is rewrewby/tmdb-symfony suitable for production Laravel applications?
It can be used in production because it is a lightweight PSR-compatible client, but it is not a Laravel-native package. Add caching, sensible timeouts, error handling, and rate-limit awareness around TMDb requests. Test the manual Laravel wiring carefully before relying on it in a high-traffic application.
What are alternatives to rewrewby/tmdb-symfony for Laravel projects?
Alternatives include Laravel-native TMDb packages, generic PHP TMDb SDKs, or calling the TMDb API directly with Laravel's HTTP client. This package is a good fit when you want a Symfony-oriented, PSR-compatible service layer. For tighter Laravel integration, a dedicated Laravel package may require less manual configuration.
How is rewrewby/tmdb-symfony maintained and which PHP versions does it support?
Maintenance activity and supported PHP versions should be verified through the GitHub repository, releases, and Packagist metadata. The package uses Symfony HttpClient and a framework-agnostic service layer, so its Composer constraints determine compatibility. Check those constraints before upgrading Laravel or Symfony dependencies.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect