PHP code example of dawson / tvdb

1. Go to this page and download the library: Download dawson/tvdb 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/ */

    

dawson / tvdb example snippets


'providers' => [
	...
	Dawson\TVDB\TVDBServiceProvider::class,
],

'aliases' => [
	...
	'TVDB' => Dawson\TVDB\TVDBFacade::class,
],

$results = TVDB::search('Walking Dead');

return $results;

$theWalkingDead = TVDB::series('153021')->get();

$actors = TVDB::series('153021')->actors();

$episodes = TVDB::series('153021')->episodes();

php artisan vendor:publish --provider="Dawson\TVDB\TVDBServiceProvider"