awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

PHP Dependency Injection Libraries

تم تحديث الترتيب في 13 يوليو 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.

نحن نختار بعناية مستودعات GitHub مفتوحة المصدر التي تطابق “best php dependency injection libraries”. النتائج مرتبة حسب صلتها ببحثك — استخدم الفلاتر أدناه للتضييق، أو قم بتحسين البحث باستخدام الذكاء الاصطناعي.

PHP Dependency Injection Libraries

اعثر على أفضل المستودعات باستخدام الذكاء الاصطناعي.سنبحث عن أفضل المستودعات المطابقة باستخدام الذكاء الاصطناعي.
  • symfony/dependency-injectionالصورة الرمزية لـ symfony

    symfony/dependency-injection

    4,166عرض على 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
    عرض على GitHub↗4,166
  • php-di/php-diالصورة الرمزية لـ PHP-DI

    PHP-DI/PHP-DI

    2,773عرض على 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
    عرض على GitHub↗2,773
  • symfony/symfonyالصورة الرمزية لـ symfony

    symfony/symfony

    31,073عرض على 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
    عرض على GitHub↗31,073
  • thephpleague/containerالصورة الرمزية لـ thephpleague

    thephpleague/container

    867عرض على 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
    عرض على GitHub↗867
  • rdlowrey/aurynالصورة الرمزية لـ rdlowrey

    rdlowrey/Auryn

    724عرض على 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
    عرض على GitHub↗724

Related searches

  • حاوية لحقن الاعتماديات Dependency Injection في Python
  • a dependency injection library for TypeScript
  • a dependency injection framework for Java
  • a dependency injection library for C#
  • مجموعة أدوات لحقن الاعتماديات في خدمات Go
  • a modern web framework for PHP development
  • a library for building PHP CLI applications
  • a php library for application logging