Download the PHP package ph-7/dependency-injection-container without Composer
On this page you can find all versions of the php package ph-7/dependency-injection-container. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ph-7/dependency-injection-container
More information about ph-7/dependency-injection-container
Files in ph-7/dependency-injection-container
Package dependency-injection-container
Short Description Simple PHP 7.1+ Dependency Injection Container (DIC) Library.
License GPL-3.0-or-later
Homepage https://github.com/pH-7/dependency-injection-container
Informations about the package dependency-injection-container
P.H.'s Dependency Injection Container Library
Summary ⏳
The "P.H.'s DIC" is a simple and lightweight PHP 7.1+ Dependency Injection Container's library which lets you manage your dependencies easily for your next great project 🎉
Requirements ⚙
Installation 📓
Usage 🎮
Register your new DIC as below (FYI, for this example I use the Symfony's HttpFoundation Request).
For the first example, let's create your provider class with an anonymous class that implements the \PierreHenry\Container\Providable
interface.
Another Example... 🎯
Inspired By... 🧠
This project is highly inspired by my DIC I built for another side-project.
...Who Am I...? 🤔
Hi there! 😉 I'm Pierre-Henry Soria, "PierreHenry.be™": a cool passionate Belgian software engineer :belgium: :smiley:
You can keep in touch with me at hi {{AT}} ph7 [[D0T]] me!
Passion Drives Me! 🚀
Love programming! 😊 Check out other exciting projects I previously did such as Lifyzer Healthy Food, which gives lots of details about what you eat and allow you do scan your food items 🌯 Another project I'm proud of is the Social Dating WebApp Builder Project I started 8 years ago ☀️
License ⚖
Under GNU GPL v3 or later.