denand/tvdb-v4-client
Composer 安装命令:
composer require denand/tvdb-v4-client
包简介
TVDB V4 API Client for PHP
关键字:
README 文档
README
TVDB V4 Client for PHP/Laravel
A comprehensive PHP client for The TVDB V4 API, designed to work seamlessly with Laravel applications. This package provides easy access to The TVDB's extensive database of TV series, movies, and related metadata.
📚 Official Documentation
- The TVDB V4 API Documentation - Complete API reference and endpoints
- The TVDB API Information & Licensing - API pricing, licensing, and attribution requirements
🚀 Features
- Full TVDB V4 API Support - Access to all available endpoints
- Laravel Integration - Seamless Laravel service provider and facade
- Extended Data Support - Get comprehensive series, episode, and movie information
- Translation Support - Multi-language content retrieval
- Search Functionality - Powerful search capabilities across the database
- Type and Status Support - Access to metadata types and statuses
- Laravel 10 Compatible - Updated for the latest Laravel version
📦 Installation
Via Composer
You can install the package with Composer using Packagist:
composer require denand/tvdb-v4-client
Configuration
- Publish the configuration file:
php artisan vendor:publish --provider="DenAnd\TvdbV4Client\TvdbV4ClientServiceProvider"
- Configure your TVDB API credentials in
config/tvdb-v4-client.php:
return [ 'api_key' => env('TVDB_API_KEY', ''), 'api_pin' => env('TVDB_API_PIN', ''), // Add other configuration options as needed ];
- Add your TVDB API credentials to your
.envfile:
TVDB_API_KEY=your_api_key_here TVDB_API_PIN=your_api_pin_here
🔧 Usage
Basic Usage
use DenAnd\TvdbV4Client\TvdbV4Client; $tvdb = new TvdbV4Client(); // Get extended data for a TV series $series = $tvdb->getSeries('269586'); // Get series translations $translations = $tvdb->getSeriesTranslations('269586', 'eng'); // Get series with full data (translations + extended data) $seriesFull = $tvdb->getSeriesFull('269586', 'eng'); // Search for series $search = $tvdb->search('Brooklyn Nine-Nine'); // Search and get extended data $seriesByName = $tvdb->getSeriesByName('Brooklyn Nine-Nine');
Laravel Facade Usage
use DenAnd\TvdbV4Client\Facades\TvdbV4Client; // Using the facade $series = TvdbV4Client::getSeries('269586'); $search = TvdbV4Client::search('Breaking Bad');
Available Methods
getSeries($id)- Get extended series datagetSeriesTranslations($id, $language)- Get series translationsgetSeriesFull($id, $language)- Get series with translations and extended datasearch($query)- Search for series, movies, or peoplegetSeriesByName($name)- Search and get extended data by namegetTypes()- Get available typesgetStatuses()- Get available statuses
🧪 Testing
composer test
📋 Requirements
- PHP 7.4 or higher
- Laravel 8.0+ (for Laravel integration)
- The TVDB API credentials
🔗 API Documentation & Resources
- The TVDB V4 API Documentation - Complete API reference
- The TVDB API Information - Licensing, pricing, and attribution requirements
- The TVDB Website - Main website and data contribution
📄 Changelog
Please see CHANGELOG for more information about recent changes.
🤝 Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email denandteam@gmail.com instead of using the issue tracker.
📜 License
The MIT License (MIT). Please see License File for more information.
🙏 Attribution
When using this package, please ensure you comply with The TVDB's attribution requirements. Display the following attribution to end users:
"Metadata provided by TheTVDB. Please consider adding missing information or subscribing."
For more information about attribution requirements, visit The TVDB API Information page.
👥 Credits
- DenAnd Team - Package development and maintenance
- The TVDB - API and data provider
denand/tvdb-v4-client 适用场景与选型建议
denand/tvdb-v4-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 08 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「denand」 「tvdb-v4-client」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 denand/tvdb-v4-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 denand/tvdb-v4-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-04