makinacorpus / drupal-sf-dic
Brings the vanilla Symfony 3 depency inject container component to Drupal 7 seamlessly along with a limited compatibility layer with Drupal 8 API
Package info
github.com/makinacorpus/drupal-sf-dic
Type:drupal-module
pkg:composer/makinacorpus/drupal-sf-dic
4.0.0-rc7
2019-10-09 08:11 UTC
Requires
- psr/log: 1.*
- symfony/config: ^3.4 || ~4.0
- symfony/dependency-injection: ^3.4 || ~4.0
- symfony/event-dispatcher: ^3.4 || ~4.0
- symfony/expression-language: ^3.4 || ~4.0
- symfony/http-foundation: ^3.4 || ~4.0
- symfony/http-kernel: ^3.4 || ~4.0
- symfony/routing: ^3.4 || ~4.0
- symfony/security: ^3.4 || ~4.0
- symfony/translation: ^3.4 || ~4.0
- symfony/yaml: ^3.4 || ~4.0
Requires (Dev)
- phpunit/phpunit: ^5.1
Suggests
- jdorn/sql-formatter: Prettifies SQL queries in the WebProfiler debug pane
- makinacorpus/php-acl: Integrates with PHP ACL and send node access collect events, requires ^1.1.0
- monolog/monolog: Integrates the Drupal 8 logger to monolog
- symfony/symfony: Replaces Symfony components with the full stack framework and brings everything into Drupal
- symfony/twig-bundle: Allow the twig engine to work seamlessly with Drupal themes
This package is auto-updated.
Last update: 2026-06-09 23:32:58 UTC
README
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.
Read the documentation on https://drupal-sf-dic.readthedocs.io/en/latest/.