discord-php-extended/discordphp-mtg
最新稳定版本:v0.8.7
Composer 安装命令:
composer require discord-php-extended/discordphp-mtg
包简介
API Library for api.magicthegathering.io built on top of DiscordPHP.
README 文档
README
A Magic: The Gathering API Library and bot for Discord, built using DiscordPHP.
Features
- Search for Magic: The Gathering cards
- User installable, usable anywhere
Requirements
- PHP 8.1 or higher
- Composer
Installation
-
Clone the repository:
git clone https://github.com/discord-php-extended/discordphp-mtg.git cd DiscordPHP-MTG -
Install dependencies:
composer install
Usage
- Copy and rename
.env.exampleto.envand configure your bot token. - Run the bot:
php bot.php
- Alternatively, package the bot into an executable binary:
composer run-script phpacker
Contributing
See CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT License. See LICENSE.md for details.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-02