Backend and Infrastructure

A Dependency Injector Container in Your Project

This page is archived

We're keeping this page up as a courtesy to folks who may need to refer to old instructions. We don't plan to update this page.

Sprout Video

Note: This is a PHP-based introduction to dependency injection as a concept. It doesn't use a Drupal-specific example. Also, the library it does use, Pimple, is no longer maintained.

Now it's time for you to use dependency injection containers in your own projects. In this tutorial we talk briefly about some other containers out there you might want to check out.