1. Go to this page and download the library: Download mehdihamid/movies-api library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mehdihamid / movies-api example snippets
use Movies\DigiMovies;
$client = new DigiMovies();
echo $api->category();
echo $api->search("the boy");
echo $api->home(); // Get Home Page Movies
echo $api->movies(); // Get Movies
echo $api->farsiDubbedMovies(); // Get Farsi Dubbed Movies
echo $api->animationMovies(); // Get Animation Movies
echo $api->movies3D(); // Get 3D Movies
echo $api->series(); // Get Series
echo $api->mostVisitedSeries(); // Get Most Visited Series
echo $api->koreanSeries(); // Get Korean Series
echo $api->farsiDubbedSeries(); // Get Farsi Dubbed Series
echo $api->animationSeries(); // Get Animation Series
echo $api->animeSeries(); // Get Anime Series
$api->getMovie("serie/the-boys-7"); // The received key from the list of videos or series
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.