定制 toxicity/altered-api-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

toxicity/altered-api-php

最新稳定版本:1.1

Composer 安装命令:

composer require toxicity/altered-api-php

包简介

Eases the api usage from the altered.gg website.

README 文档

README

This library is based on the Altered.gg website. I develop it because I need it to manage my card collections.

Dependencies

  • PHP >= 8.2

Code Example

<?php

use Toxicity\AlteredApi\Lib\Cards;

$card = Cards::byReference('ALT_ALIZE_A_AX_35_C');
echo $card['reference'];

Some methods require authentication:

<?php

use Toxicity\AlteredApi\Lib\Friends;

$friends = Friends::all($token);
echo $friends[0]['id'];

Installation

Using composer

composer.phar require toxicity/altered-api-php

or

composer require toxicity/altered-api-php

If you don't have composer

You can download it here.

📖 API Documentation

More explanation on available functionality:

🧪 Testing

This project uses atoum with a comprehensive Fake Objects approach for testing.

# Run all tests
composer test

# With coverage
composer test-coverage

📊 Test Statistics: 9 tests • 51 methods • 322 assertions • 100% success ✅

📚 Testing Documentation:

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-19