---
title: "Discussion on \"Creating a Dependency Injection (DI) Container\" | Hashnode"
description: "Discussion on \"Creating a Dependency Injection (DI) Container\". A while ago, I've created a small PHP framework. In order to adhere to modern practice (it even has basic middleware support even if I don't like them), I had to pick a DI container. The issue was: either there were too complicated, or too simple. An..."
url: "https://hashnode.com/posts/creating-a-dependency-injection-di-container/61424b199c949972b85c7726"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Creating a Dependency Injection (DI) Container](https://blog.lekoala.be/creating-a-dependency-injection-di-container?utm_source=hashnode&utm_medium=feed)

A while ago, I've created a small PHP framework. In order to adhere to modern practice (it even has basic middleware support even if I don't like them), I had to pick a DI container. The issue was: either there were too complicated, or too simple. An...

Sep 15, 2021 · 2 min read · blog.lekoala.be  
Updated Oct 8, 2021  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#php7](https://hashnode.com/tag/php7)
-   [#framework](https://hashnode.com/tag/framework)
-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)

## Written by

[Thomas Portelange](https://hashnode.com/@lekoala)

@lekoala · Belgium

  
[View profile](https://hashnode.com/@lekoala)

A PHP/JS Web Developer based in Belgium

A Web Developer based in Belgium, specialized in PHP &amp; JS development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
