bstien/laravel-tvdb
最新稳定版本:1.0.0
Composer 安装命令:
composer require bstien/laravel-tvdb
包简介
A Laravel wrapper for moinax/tvdb.
README 文档
README
A Laravel 5 wrapper for Moinax/TvDb. See his docs for how to use the TvDb-API.
Install
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.
Usage
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;
统计信息
- 总下载量: 43
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-27