Skip to content
 
 

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A Laraval Package for use together with the wtfzdotnet/php-tmdb-api TMDB Wrapper.

Installation

Install Composer

$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer

Add the following to your require block in composer.json config

"wtfzdotnet/tmdb-package": "~0.1"

Configuration

Add to your app/config/app.php the service provider:

// Provider
'providers' => array(
    'Wtfz\TmdbPackage\TmdbServiceProvider',
)

Then publish the configuration file:

php artisan config:publish wtfzdotnet/tmdb-package

And modify the configuration file located at app/config/packages/wtfz/tmdb/config.php accordingly.

That's all! Fire away!

Usage

Obtaining the RAW data

$client = Tmdb::getMoviesApi()->load(13);

Obtaining modeled data

$movie = Tmdb::getMovieRepository()->load(13);

For all all other interactions take a look at wtfzdotnet/php-tmdb-api.

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages