1
- ## Description
2
- A Laraval Package for use together with the [ php-tmdb/api] ( https://github.com/php-tmdb/api ) TMDB Wrapper.
1
+ # Laravel Package for TMDB API Wrapper
2
+ [ ![ License] ( https://poser.pugx.org/php-tmdb/laravel/license.png )] ( https://packagist.org/packages/php-tmdb/laravel )
3
+ [ ![ Build Status] ( https://travis-ci.org/php-tmdb/laravel.svg )] ( https://travis-ci.org/php-tmdb/laravel )
4
+ [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/php-tmdb/laravel/badges/coverage.png )] ( https://scrutinizer-ci.com/g/php-tmdb/laravel/ )
5
+ [ ![ PHP & HHVM] ( https://php-eye.com/badge/php-tmdb/laravel/tested.svg )] ( https://php-eye.com/package/php-tmdb/laravel )
6
+
7
+ A Laravel package that provides easy access to the [ php-tmdb/api] ( https://github.com/php-tmdb/api ) TMDB (The Movie Database) API wrapper.
3
8
This package comes with a service provider that configures the ` Tmdb\Client ` and registers it to the IoC container.
4
9
Both Laravel 5 and 4 are supported.
5
10
11
+ [ ![ Latest Stable Version] ( https://poser.pugx.org/php-tmdb/laravel/v/stable.svg )] ( https://packagist.org/packages/php-tmdb/laravel )
12
+ [ ![ Latest Unstable Version] ( https://poser.pugx.org/php-tmdb/laravel/v/unstable.svg )] ( https://packagist.org/packages/php-tmdb/laravel )
13
+ [ ![ Dependency Status] ( https://www.versioneye.com/php/php-tmdb:laravel/badge?style=flat )] ( https://www.versioneye.com/php/php-tmdb:laravel )
14
+ [ ![ Total Downloads] ( https://poser.pugx.org/php-tmdb/laravel/downloads.svg )] ( https://packagist.org/packages/php-tmdb/laravel )
15
+
6
16
7
17
## Installation
8
18
Install Composer
@@ -12,14 +22,20 @@ $ curl -sS https://getcomposer.org/installer | php
12
22
$ sudo mv composer.phar /usr/local/bin/composer
13
23
```
14
24
15
- Add the following to your require block in composer.json config
25
+ Add the following to your require block in ` composer.json ` config
16
26
17
27
```
18
28
"php-tmdb/laravel": "~1.0"
19
29
```
20
30
31
+ or just run the following command in your project:
32
+
33
+ ```
34
+ composer require php-tmdb/laravel
35
+ ```
36
+
21
37
## Configuration
22
- Add to your ` app/config/app.php ` (Laravel 4) or ' config/app.php' (Laravel 5) the service provider:
38
+ Add to your ` app/config/app.php ` (Laravel 4) or ` config/app.php ` (Laravel 5) the service provider:
23
39
24
40
``` php
25
41
'providers' => array(
0 commit comments