| Package Data | |
|---|---|
| Maintainer Username: | bstien | 
| Maintainer Contact: | bastian.stien@gmail.com (Bastian Stien) | 
| Package Create Date: | 2015-02-27 | 
| Package Last Update: | 2015-03-23 | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-26 03:02:45 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 43 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 2 | 
| Total Watchers: | 1 | 
| Total Forks: | 0 | 
| Total Open Issues: | 0 | 
A Laravel 5 wrapper for Moinax/TvDb. See his docs for how to use the TvDb-API.
Put this in your composer.json.
"require": {
    "bstien/laravel-tvdb": "1.0.0"
},
"repositories": [
		{
			"type": "vcs",
			"url": "https://github.com/bstien/laravel-tvdb"
		}
]
Publish the config
php artisan vendor:publish
Enter your API key in the config file config/tvdb.php.
If needed, feel free to alter the either the path or TTL for cache. Please note the cache-path is relative to [app root]/storage and must start with a '/'.
In your config/app.php add TvDbServiceProvider to the array of ServiceProviders.
In order to use this package, you need an API-key from TheTvDb.com.
use Stien\TvDb\Facades\TvDb;
# You can add this to your Facades under config/app.php if you like
$serie = TvDb::getSerie(75710);
echo $serie->name;