Recommend this page to a friend! |
Classes of Pierre-Henry Soria | Simple PHP Dependency Injection Container Class | README.md | Download |
|
DownloadP.H.'s Dependency Injection Container LibrarySummary ?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
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. |