A Laravel package to access the OMDb API in your Laravel application.
digipig/moviedb is a Laravel package for a laravel package to access the omdb api in your laravel application..
It currently has 0 GitHub stars and 18 downloads on Packagist.
Install it with composer require digipig/moviedb.
Discover more Laravel packages by digipig
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package to access the OMDb API in your application.
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.
OMDb API Homepage: http://www.omdbapi.com/
Add this to your composer.json under psr-4:
"DigiPig\\MovieDB\\": "packages/digipig/moviedb/src/"
Add this to your app.php config file in providers:
DigiPig\MovieDB\MovieDBServiceProvider::class
Add this to your app.php config file in aliases:
'MovieDB' => DigiPig\MovieDB\MovieDBFacade::class
Run the following composer command
composer dumpautoload
Run the following artisan command. This will publish the package views into your app so you can customize the views.
artisan vendor:publish
Visit http://YOURDOMAIN.com/moviedb/tt2937696 in your web browser to see it in action
To access the package in your application use:
use DigiPig\MovieDB;
$MoviesArray = \MovieDB::getMovie('tt2937696');