awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
symfony avatar

symfony/dependency-injection

0
View on GitHub↗
4,166 stars·91 forks·PHP·MIT·25 viewssymfony.com/dependency-injection↗

Dependency Injection

This project is a PHP dependency injection container and framework designed to centralize object construction and manage class dependencies. It serves as a service container and configuration registry that automates object lifecycles and manages references between services to decouple application components from their specific dependencies.

The system handles the instantiation and wiring of objects through both constructor and setter injection. It provides a centralized registry for storing reusable parameters and service definitions, which prevents the hardcoding of settings across the application.

The framework supports loading service definitions from external files and managing complex dependency graphs through reference-based wiring. It also includes capabilities for handling missing service references and managing application configuration.

Features

  • Centralized Object Construction - Standardizes how objects are created and wired together to decouple components from their specific dependencies.
  • Application Configuration Management - Provides centralized management of reusable application parameters to avoid hardcoded settings.
  • Service Dependency Wiring - Connects services using unique identifiers to resolve complex dependency graphs during the container build phase.
  • Service Containers - Implements a service container that manages the lifecycle and resolution of application services.
  • Configuration Registries - Aggregates service definitions and parameters into a single prioritized registry for the application.
  • Application Parameter Configurators - Allows the definition of internal application behavior and operational parameters in a central registry.
  • Configuration Parameter Injection - Provides a central registry of key-value parameters that can be injected into service definitions.
  • Dependency Injection Containers - Provides a PHP-based container for managing object lifecycles and dependency resolution.
  • Dependency Injection Frameworks - Implements inversion of control to automate object lifecycles and manage component dependencies.
  • Dependency Injection - Decouples software components by managing the instantiation and wiring of required dependencies.
  • Constructor-Based Injections - Implements dependency injection by passing required services through class constructors.
  • Setter-Based Injections - Provides non-essential dependencies by calling specific setter methods after object instantiation.
  • Dependency Injection Containers - Provides a system that handles the instantiation and injection of application objects to promote loose coupling.
  • Configuration File Loading - Supports importing service and parameter configurations from structured external files to decouple wiring from code.
  • Compiled Containers - Writes optimized PHP classes to disk to avoid runtime reflection and configuration parsing during object instantiation.
  • Externalized Configurations - Separates application wiring from source code by reading service definitions from external files.
  • Dependency Injection - Component for managing object dependencies.

Star history

Star history chart for symfony/dependency-injectionStar history chart for symfony/dependency-injection

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Dependency Injection

These projects share indexed features with Dependency Injection. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • jeffijoe/awilixjeffijoe avatar

    jeffijoe/awilix

    4,088View on GitHub↗

    Awilix is a JavaScript dependency injection framework and inversion of control container. It provides a centralized system for registering and resolving services, decoupling application components by automating how dependencies are created and passed to the functions or classes that require them. The framework features an automatic module loader that scans the filesystem using glob patterns to register dependencies based on filenames and exports. It supports parameter-name-based injection and proxy-based resolution to manage how dependencies are delivered to constructors and functions. The s

    TypeScriptawilixdependency-injectionioc
    View on GitHub↗4,088
  • facebookarchive/injectfacebookarchive avatar

    facebookarchive/inject

    1,408View on GitHub↗

    Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging runtime reflection, the library dynamically inspects object structures to resolve and populate required dependencies, decoupling component initialization from business logic. The framework manages object lifecycles through both singleton and factory-based provisioning. It maintains a central registry to share singletons across an application for consistent state, while also supporting the creation of unique, private instances to isolate state between different components. To

    Go
    View on GitHub↗1,408
  • liangxiegame/qframeworkliangxiegame avatar

    liangxiegame/QFramework

    5,163View on GitHub↗

    QFramework is a Unity game architecture framework designed to separate presentation, system, and data logic. It implements a layered software architecture to manage complex game states and provides a game engine utility library to reduce boilerplate code. The framework is centered on the Command Query Responsibility Segregation pattern, which separates data modification commands from data retrieval queries. It utilizes a dependency injection container to manage the lifecycles and resolution of singletons and modular components, alongside an event-driven system for state synchronization to pre

    C#frameworksgame-devgodot
    View on GitHub↗5,163
  • santiq/bulletproof-nodejssantiq avatar

    santiq/bulletproof-nodejs

    5,770View on GitHub↗

    Implementation of a bulletproof node.js API 🛡️

    TypeScriptagendajsboilerplateexpress
    View on GitHub↗5,770
Compare all 30 related projects→

Frequently asked questions

What does symfony/dependency-injection do?

This project is a PHP dependency injection container and framework designed to centralize object construction and manage class dependencies. It serves as a service container and configuration registry that automates object lifecycles and manages references between services to decouple application components from their specific dependencies.

What are the main features of symfony/dependency-injection?

The main features of symfony/dependency-injection are: Centralized Object Construction, Application Configuration Management, Service Dependency Wiring, Service Containers, Configuration Registries, Application Parameter Configurators, Configuration Parameter Injection, Dependency Injection Containers.

Which projects share features with symfony/dependency-injection?

Projects with overlapping indexed features include: jeffijoe/awilix — Awilix is a JavaScript dependency injection framework and inversion of control container. It provides a centralized… facebookarchive/inject — Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging… zendframework/zendframework — Zend Framework is a comprehensive set of decoupled components for building modular, event-driven web applications. It… santiq/bulletproof-nodejs — Implementation of a bulletproof node.js API 🛡️. liangxiegame/qframework — QFramework is a Unity game architecture framework designed to separate presentation, system, and data logic. It… ets-labs/python-dependency-injector — This is a dependency injection framework and inversion of control container for Python. It decouples object creation…