mrgoodbytes8667/discord-client-bundle

一个添加了一些路由和Discord OAuth机制的Symfony包


README

Packagist Version PHP from Packagist Symfony Versions Supported Symfony Versions Tested Symfony LTS Version Symfony Stable Version Symfony Dev Version Discord API Version GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status codecov Packagist License
一个添加了一些API调用、路由和Discord OAuth机制的Symfony包

安装

请确保已全局安装Composer,如Composer文档中的安装章节所述。

使用Symfony Flex的应用程序

打开命令行控制台,进入您的项目目录并执行

$ composer require mrgoodbytes8667/discord-client-bundle

不使用Symfony Flex的应用程序

步骤1:下载Bundle

打开命令行控制台,进入您的项目目录并执行以下命令以下载此bundle的最新稳定版本

$ composer require mrgoodbytes8667/discord-client-bundle

步骤2:启用Bundle

然后,通过将其添加到项目config/bundles.php文件中注册的bundle列表中来启用该bundle

// config/bundles.php

return [
    // ...
    Bytes\DiscordClientBundle\BytesDiscordClientBundle::class => ['all' => true],
];

模拟和测试数据

示例Discord API响应是通过mrgoodbytes8667/mock-generator生成的

许可证

License
MrGoodBytes编写的discord-client-bundle根据Creative Commons Attribution-NonCommercial 4.0 International License许可。
基于https://github.com/mrgoodbytes8667/discord-client-bundle上的作品。