mrgoodbytes8667 / discord-response-bundle
A Symfony bundle for Discord API response objects and enums
Installs: 6 321
Dependents: 4
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 4
Type:symfony-bundle
Requires
- php: ^8.1
- ext-json: *
- illuminate/collections: ^8.69 | ^9.13 | ^10
- mrgoodbytes8667/response-bundle: ^4.0 | ^5.0 | ^6.0
- symfony/expression-language: ^6.1
- symfony/polyfill-uuid: ^1.20
- symfony/validator: ^6.1
Requires (Dev)
- doctrine/common: ^3.0
- fakerphp/faker: ^1.13
- mrgoodbytes8667/test-common: >=0.0.18
- mrgoodbytes8667/test-common-faker: >=0.4.2
- mrgoodbytes8667/test-discord-faker: >=0.1
- rector/rector: ^0.15.24
- symfony/test-pack: ^1.0.8
- symfony/var-dumper: ^6.1
Conflicts
- doctrine/annotations: <1.11.1
- doctrine/cache: <1.10.2
- doctrine/collections: <1.6.7
- doctrine/event-manager: <1.1.1
- doctrine/inflector: <1.4.3
- doctrine/lexer: <1.2.1
- doctrine/persistence: <2.1.0
- mrgoodbytes8667/enum-serializer-bundle: <3.1.1
- phpunit/phpunit: <9.6
- symfony/property-access: <5.3.0
- symfony/property-info: <5.3.0
- symfony/serializer: <5.3.1
- dev-main
- 0.16.x-dev
- 0.15.x-dev
- v0.15.1
- v0.15.0
- 0.14.x-dev
- v0.14.0
- v0.14.0-RC1
- 0.13.x-dev
- v0.13.2
- 0.13.1
- v0.13.0
- v0.12.4
- v0.12.3
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.8
- v0.10.7
- v0.10.6
- v0.10.5
- v0.10.4
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.12
- v0.9.11
- v0.9.10
- v0.9.9
- v0.9.8
- v0.9.7
- v0.9.6
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.9.0-BETA2
- v0.9.0-BETA1
- v0.8.2
- v0.8.1
- v0.8.0
- v0.8.0-BETA8
- v0.8.0-BETA7
- v0.8.0-BETA6
- v0.8.0-BETA5
- v0.8.0-BETA4
- v0.8.0-BETA3
- v0.8.0-BETA2
- v0.8.0-BETA1
- v0.7.4
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.7.0-RC1
- v0.7.0-BETA6
- v0.7.0-BETA5
- v0.7.0-BETA4
- v0.7.0-BETA3
- v0.7.0-BETA2
- v0.7.0-BETA1
- v0.6.1
- v0.6.0
- v0.5.8
- v0.5.7
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.4.0
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.0
- v0.0.1
- dev-messages-patch-4
- dev-oauthscopes
- dev-codecov
- dev-slash
This package is auto-updated.
Last update: 2024-10-30 01:53:53 UTC
README
A Symfony bundle for Discord API response objects and enums
Discord API Support
- Starting with release 0.16, there will also be mixed support for Discord API version 10. Not all models are currently fully compatible with v8, v9 or v10.
- Starting with release 0.10, there will also be mixed support for Discord API version 9. Not all models are currently fully compatible with v8 or v9.
- Starting with release 0.7, there will be mixed support for the Discord API version 6 along with Discord API version 8. Not all models are currently fully compatible with v8.
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
$ composer require mrgoodbytes8667/discord-response-bundle
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require mrgoodbytes8667/discord-response-bundle
Note: this bundle depends on the Enum-Serializer-Bundle as well, but Flex should take care of this for you.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
// config/bundles.php return [ // ... Bytes\EnumSerializerBundle\BytesEnumSerializerBundle::class => ['all' => true], Bytes\DiscordResponseBundle\BytesDiscordResponseBundle::class => ['all' => true], ];
Note: this bundle depends on the Enum-Serializer-Bundle and setup instructions for it must be followed as well.
License
discord-response-bundle by MrGoodBytes is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Based on a work at https://github.com/mrgoodbytes8667/discord-response-bundle.