awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
symfony avatar

symfony/dependency-injection

0
View on GitHub↗
4,166 stele·91 fork-uri·PHP·MIT·8 vizualizărisymfony.com/dependency-injection↗

Dependency Injection

Acest proiect este un container de dependency injection și un framework PHP conceput pentru a centraliza construcția obiectelor și a gestiona dependențele claselor. Servește ca un container de servicii și registru de configurare care automatizează ciclurile de viață ale obiectelor și gestionează referințele între servicii pentru a decupla componentele aplicației de dependențele lor specifice.

Sistemul gestionează instanțierea și cablarea obiectelor atât prin constructor, cât și prin setter injection. Oferă un registru centralizat pentru stocarea parametrilor reutilizabili și a definițiilor de servicii, ceea ce previne hardcodarea setărilor în întreaga aplicație.

Framework-ul suportă încărcarea definițiilor de servicii din fișiere externe și gestionarea grafurilor complexe de dependență prin cablare bazată pe referințe. Include, de asemenea, capabilități pentru gestionarea referințelor de servicii lipsă și gestionarea configurării aplicației.

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.

Istoric stele

Graficul istoricului de stele pentru symfony/dependency-injectionGraficul istoricului de stele pentru symfony/dependency-injection

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Dependency Injection

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Dependency Injection.
  • jeffijoe/awilixAvatar jeffijoe

    jeffijoe/awilix

    4,088Vezi pe 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
    Vezi pe GitHub↗4,088
  • facebookarchive/injectAvatar facebookarchive

    facebookarchive/inject

    1,408Vezi pe 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
    Vezi pe GitHub↗1,408
  • insertkoinio/koinAvatar InsertKoinIO

    InsertKoinIO/koin

    9,992Vezi pe GitHub↗

    Koin is a dependency injection framework for Kotlin applications that manages object lifetimes and resolves dependencies through a lightweight container. It functions as a multiplatform library, allowing shared object definitions and resource bindings to be reused across different target platforms and source sets. The framework provides a system for resolving dependencies directly within user interface components to decouple business logic from view implementations. It includes a compile-time dependency validator that analyzes dependency graphs during the build process to detect missing bindi

    Kotlinandroiddependency-injectioninjection
    Vezi pe GitHub↗9,992
  • liangxiegame/qframeworkAvatar liangxiegame

    liangxiegame/QFramework

    5,163Vezi pe 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
    Vezi pe GitHub↗5,163
Vezi toate cele 30 alternative pentru Dependency Injection→

Întrebări frecvente

Ce face symfony/dependency-injection?

Acest proiect este un container de dependency injection și un framework PHP conceput pentru a centraliza construcția obiectelor și a gestiona dependențele claselor. Servește ca un container de servicii și registru de configurare care automatizează ciclurile de viață ale obiectelor și gestionează referințele între servicii pentru a decupla componentele aplicației de dependențele lor specifice.

Care sunt principalele funcționalități ale symfony/dependency-injection?

Principalele funcționalități ale symfony/dependency-injection sunt: Centralized Object Construction, Application Configuration Management, Service Dependency Wiring, Service Containers, Configuration Registries, Application Parameter Configurators, Configuration Parameter Injection, Dependency Injection Containers.

Care sunt câteva alternative open-source pentru symfony/dependency-injection?

Alternativele open-source pentru symfony/dependency-injection includ: 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… insertkoinio/koin — Koin is a dependency injection framework for Kotlin applications that manages object lifetimes and resolves… 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… zendframework/zendframework — Zend Framework is a comprehensive set of decoupled components for building modular, event-driven web applications. It…