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
·

PHP Dependency Injection Libraries

Clasament actualizat la 13 iul. 2026

For a dependency injection container for PHP, the strongest matches are symfony/dependency-injection (This is a comprehensive, PSR-11 compliant dependency injection container), php-di/php-di (This library is a comprehensive dependency injection container that) and symfony/symfony (Symfony provides a highly robust, PSR-11 compliant dependency injection). thephpleague/container and rdlowrey/auryn round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Selectăm repository-uri open-source de pe GitHub care se potrivesc cu „best php dependency injection libraries”. Rezultatele sunt clasificate după relevanța față de căutarea ta — folosește filtrele de mai jos pentru a rafina rezultatele sau utilizează AI-ul.

PHP Dependency Injection Libraries

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • symfony/dependency-injectionAvatar symfony

    symfony/dependency-injection

    4,166Vezi pe GitHub↗

    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 appli

    This is a comprehensive, PSR-11 compliant dependency injection container that provides robust support for autowiring, constructor injection, service configuration, and lazy loading, making it the industry standard for managing object lifecycles in PHP.

    PHPConstructor-Based InjectionsDependency Injection ContainersDependency Injection Containers
    Vezi pe GitHub↗4,166
  • php-di/php-diAvatar PHP-DI

    PHP-DI/PHP-DI

    2,773Vezi pe GitHub↗

    PHP-DI is an inversion of control container designed to manage object lifecycles and dependency resolution within PHP applications. It functions as a centralized registry that automates the wiring of components, allowing for the decoupling of services from their concrete implementations. The library distinguishes itself by utilizing reflection to inspect class constructor signatures, enabling automatic dependency injection without requiring manual configuration for standard scenarios. It supports recursive resolution of dependency graphs and provides mechanisms for lazy object instantiation,

    This library is a comprehensive dependency injection container that fully supports PSR-11, autowiring, constructor injection, and lazy loading, making it a flagship tool for managing object lifecycles in PHP.

    PHPAutomatic Constructor Injection
    Vezi pe GitHub↗2,773
  • symfony/symfonyAvatar symfony

    symfony/symfony

    31,073Vezi pe GitHub↗

    Symfony is a full-stack web framework designed for building scalable and maintainable server-side applications. It provides a comprehensive collection of decoupled components that form a foundational architecture, centered on a robust dependency injection container and a configuration-driven routing engine. By organizing code into modular services, the framework ensures that application components remain testable and loosely coupled throughout the development lifecycle. The framework distinguishes itself through an event-driven kernel architecture that allows developers to intercept and modif

    Symfony provides a highly robust, PSR-11 compliant dependency injection container that supports autowiring, constructor injection, and lazy loading, though it is a full-stack framework rather than a standalone library.

    PHPDependency Injection Containers
    Vezi pe GitHub↗31,073
  • thephpleague/containerAvatar thephpleague

    thephpleague/container

    867Vezi pe GitHub↗

    Small but powerful dependency injection container

    This library provides a PSR-11 compliant dependency injection container that supports autowiring, constructor injection, and service configuration, making it a direct fit for managing object lifecycles in PHP applications.

    PHPDependency Injection
    Vezi pe GitHub↗867
  • rdlowrey/aurynAvatar rdlowrey

    rdlowrey/Auryn

    724Vezi pe GitHub↗

    IoC Dependency Injector

    Auryn is a powerful dependency injection container that supports constructor injection, autowiring, and lazy loading, though it lacks native PSR-11 compliance.

    PHPDependency Injection
    Vezi pe GitHub↗724

Related searches

  • un container de dependency injection pentru Python
  • a dependency injection library for TypeScript
  • a dependency injection framework for Java
  • a dependency injection library for C#
  • un toolkit de dependency injection pentru servicii Go
  • a modern web framework for PHP development
  • a library for building PHP CLI applications
  • a php library for application logging