mrgoodbytes8667/discord-bundle

此包已被弃用,不再维护。作者建议使用mrgoodbytes8667/discord-client-bundle包。

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

安装: 42

依赖者: 0

建议者: 0

安全: 0

星星: 0

关注者: 1

分支: 0

开放问题: 0

类型:symfony-bundle


README

请使用GitHub / Packagist代替!

discord-bundle

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

安装

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

使用Symfony Flex的应用程序

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

$ composer require mrgoodbytes8667/discord-bundle

不使用Symfony Flex的应用程序

步骤 1: 下载包

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

$ composer require mrgoodbytes8667/discord-bundle

步骤 2: 启用包

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

// config/bundles.php

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

模拟和测试用例

使用mrgoodbytes8667/mock-generator生成示例Discord API响应

许可

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