Drupal 7 - Symfony - Dependency Injection

Introduction

Drupal-sf-dic is a Drupal 7 module that serves the purpose of bringing the Symfony 3 dependency injection container to Drupal 7 along with a limited Drupal 8 API compatibility layer.

This project has been maturing enough to fill those needs :

  • Brings the Symfony 3 dependency injection container to Drupal 7 ;
  • Brings a Drupal 8 forward-compatibility layer for easier module porting ;
  • Brings the ability to use Symfony bundles into Drupal 7 as long as they use a limited set of Symfony features.

Support

Please ask questions on the Github issues page.