Download the PHP package bogdanfinn/tmdb-bundle without Composer
On this page you can find all versions of the php package bogdanfinn/tmdb-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bogdanfinn/tmdb-bundle
More information about bogdanfinn/tmdb-bundle
Files in bogdanfinn/tmdb-bundle
Package tmdb-bundle
Short Description Symfony Bundle for accessing https://www.themoviedb.org API
License MIT
Homepage https://github.com/bogdanfinn/tmdb-bundle
Informations about the package tmdb-bundle
bogdanfinn/tmdb-bundle
A symfony bundle for accessing the https://www.themoviedb.org/ Api
The Bundle is currently work in progress!
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle / Configuration
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Add to your app/config/config.yml
the following:
If use set use_models
to true
the Services return Model instances of Movies, TvShows, Episodes and Seasons located under bogdanfinn/tmdbBundle/Model
. If you set use_models
to false
the services return JSON objects.
Step 3: Usage
Get the TvShowClient in your Controller
Get the MovieClient in your Controller
Get the EpisodeClient in your Controller
Get the SeasonClient in your Controller
Get the SearchClient in your Controller
Methods
Get Information for another language
You can set the language in the ClientMethod as second parameter. The default language is always en
.
TvShowClient
SeasonClient
EpisodeClient
MovieClient
SearchClient
All versions of tmdb-bundle with dependencies
symfony/config Version >=2.3,<4
symfony/dependency-injection Version >=2.3,<4
symfony/event-dispatcher Version >=2.3,<4
symfony/http-kernel Version >=2.3,<4
twig/twig Version ~1.11|~2.0
guzzlehttp/guzzle Version ~6.0