PHPackages                             freezemage0/discordphp-di - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. freezemage0/discordphp-di

ActiveLibrary

freezemage0/discordphp-di
=========================

Wrapper around DiscordPHP that integrates DI container for event handlers

v0.0.6(3y ago)09proprietaryPHPPHP ^7.4

Since Aug 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/freezemage0/discordphp-di)[ Packagist](https://packagist.org/packages/freezemage0/discordphp-di)[ RSS](/packages/freezemage0-discordphp-di/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (8)Used By (0)

DiscordPHP-DI
=============

[](#discordphp-di)

Description
-----------

[](#description)

The package allows you to integrate `DI Container` with your `Discord\Discord` client. Your `EventHandler` will be automatically built in runtime whenever `Event` happens.

Installation
------------

[](#installation)

This package is available for installation via `composer`:

`composer require freezemage0/discordphp-di`

Usage
-----

[](#usage)

Let's say that you have an `EventHandler` class

```
