denand/tvdb-v4-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

denand/tvdb-v4-client

Composer 安装命令:

composer require denand/tvdb-v4-client

包简介

TVDB V4 API Client for PHP

README 文档

README

Latest Version on Packagist Total Downloads License

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

🚀 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

  1. Publish the configuration file:
php artisan vendor:publish --provider="DenAnd\TvdbV4Client\TvdbV4ClientServiceProvider"
  1. 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
];
  1. Add your TVDB API credentials to your .env file:
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 data
  • getSeriesTranslations($id, $language) - Get series translations
  • getSeriesFull($id, $language) - Get series with translations and extended data
  • search($query) - Search for series, movies, or people
  • getSeriesByName($name) - Search and get extended data by name
  • getTypes() - Get available types
  • getStatuses() - 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

📄 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/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 我们能提供哪些服务?
定制开发 / 二次开发

基于 denand/tvdb-v4-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 17
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-04