discord-php-extended/discordphp-mtg

API Library for api.magicthegathering.io built on top of DiscordPHP.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 2

pkg:composer/discord-php-extended/discordphp-mtg

v0.8.1 2025-10-07 14:46 UTC

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

  1. Clone the repository:

    git clone https://github.com/discord-php-extended/discordphp-mtg.git
    cd DiscordPHP-MTG
  2. Install dependencies:

    composer install

Usage

  1. Copy and rename .env.example to .env and configure your bot token.
  2. Run the bot:
    php bot.php
  3. 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.