tcgdex/sdk 问题修复 & 功能扩展

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

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

tcgdex/sdk

最新稳定版本:2.2.0

Composer 安装命令:

composer require tcgdex/sdk

包简介

PHP SDK to communicate with the TCGdex API

README 文档

README

TCGdex Main Image

Packagist Version NPM Downloads npm version the TCGdex PHP SDK is released under the MIT license. the TCGdex PHP SDK's automated builds. Discord Link

TCGdex PHP SDK

This is the SDK used to communicate with the Open source TCGdex API using PHP

Full API/SDK documentation in progress here

Getting Started

install the SDK using:

composer require tcgdex/sdk # if you have no PSR 16/17/18 implementations add the following packages composer require symfony/cache nyholm/psr7 kriswallsmith/buzz # they will be automaticly setup for the project # symfony/cache === PSR16 # nyholm/psr7 === PSR17 # kriswallsmith/buzz === PSR18

Quick usage

use TCGdex\TCGdex; // Is you are using your own PSRs implementations add theses before loading the class TCGdex::$cache = /* PSR16 CacheInterface */; TCGdex::$requestFactory = /* PSR17 RequestFactoryInterface */; TCGdex::$responseFactory = /* PSR17 ResponseFactoryInterface */; TCGdex::$client = /* PSR18 ClientInterface */; // initialize the SDK with the language $tcgdex = new TCGdex("en"); // Fetch the cards ! $card = $tcgdex->fetchCard('1', 'Sword & Shield');

统计信息

  • 总下载量: 1.52k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固