2017 © Pedro Peláez
 

library moviedb

A Laravel package to access the OMDb API in your Laravel application.

image

digipig/moviedb

A Laravel package to access the OMDb API in your Laravel application.

  • Saturday, April 9, 2016
  • by TheRealJAG
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel OMDb API Package

Introduction

Laravel package to access the OMDb API in your application., (*1)

What is the OMDb API?

The OMDb API is a free web service to obtain movie information. OMDb API's data is a mashup of other movie sites such as IMBD, Rotten Tomatoes and OMDb contributers., (*2)

OMDb API Homepage: http://www.omdbapi.com/, (*3)

Installation

Add this to your composer.json under psr-4:, (*4)

"DigiPig\\MovieDB\\": "packages/digipig/moviedb/src/"

Add this to your app.php config file in providers:, (*5)

DigiPig\MovieDB\MovieDBServiceProvider::class

Add this to your app.php config file in aliases:, (*6)

'MovieDB' => DigiPig\MovieDB\MovieDBFacade::class

Run the following composer command, (*7)

composer dumpautoload

Run the following artisan command. This will publish the package views into your app so you can customize the views., (*8)

artisan vendor:publish

Use

Visit http://YOURDOMAIN.com/moviedb/tt2937696 in your web browser to see it in action, (*9)

To access the package in your application use:, (*10)

use DigiPig\MovieDB;
$MoviesArray = \MovieDB::getMovie('tt2937696');

The Versions

09/04 2016

dev-master

9999999-dev

A Laravel package to access the OMDb API in your Laravel application.

  Sources   Download

MIT

The Requires

 

by Jorge A. Gonzalez

laravel api movies omdb