PHP code example of gpenverne / opensubtitles
1. Go to this page and download the library: Download gpenverne/opensubtitles 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/ */
gpenverne / opensubtitles example snippets
$this->container->get('opensubtitles_api')->getSubtitles('A movie title');
$this->container->get('opensubtitles_api')->getSubtitles(1234); // Search from imdbid
$client = $this->container->get('opensubtitles_api')->getClient(); // Return the kminek/open-subtitles client