PHP Dependency Injection

Open-source PHP projects categorized as Dependency Injection

Top 23 PHP Dependency Injection Projects

  • hyperf

    🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.

  • Project mention: Yii news 2023 issue 2 | /r/PHP | 2023-05-25
  • Symfony DI

    Allows you to standardize and centralize the way objects are constructed in your application

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Pimple

    A small PHP dependency injection container

  • PHP-DI

    The dependency injection container for humans

  • Nette DI

    💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features. (by nette)

  • Container

    Small but powerful dependency injection container (by thephpleague)

  • Project mention: Which DI container do you use and why? | /r/PHP | 2023-12-07

    When not using a framework like Laravel, I'm using https://container.thephpleague.com/ because it has as simple API while providing: service providers, delegate containers, inflectors (think decorators) and auto-wiring

  • Opulence

    A simple, secure, and scalable PHP application framework

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Auryn

    IoC Dependency Injector (by rdlowrey)

  • Aura PHP

    Dependency Injection System

  • Acclimate

    Adapters for PHP framework containers to an interoperable interface

  • di

    PSR-11 compatible DI container and injector (by yiisoft)

  • Project mention: PHP in 2023? | /r/PHP | 2023-07-10

    The language is not that important, if you know Php, you learn another one in weeks (not you, Rust!) important and source of income is the knowledge of Design patterns and for what implementation to use which specific Pattern. PHP have a great ecosystem regarding design patterns. As there are the psr. Mostly, the Frameworks implement these recommendations: - dependency injection in Symfony, yii and spiral - Data Mapper implemented in doctrine or in cycle-orm.

  • Disco

    PSR-11 compatible Dependency Injection Container for PHP. (by bitExpert)

  • aphiria

    A simple, extensible REST API framework for PHP

  • Project mention: Another question about preferred MVC frameworks that are not Laravel or Symfony | /r/PHP | 2023-12-07
  • php-di-container-benchmarks

    Benchmark for some popular PHP Dependency Injection Containers.

  • di52

    The dependency injection container for streamlined WordPress development. Easily manage and inject dependencies for efficient and hassle-free app creation.

  • Project mention: Which DI container do you use and why? | /r/PHP | 2023-12-07

    For WordPress plugins: lucatume/DI52

  • ClanCats Container

    🚀 PHP Service Container with fast and cachable dependency injection. (by ClanCats)

  • laravel-autowire-config

    Inject your laravel configuration values through DI

  • syringe

    Dependency injection library for PHP8 (by giuseppe998e)

  • php-dependency-injection

    PHP Dependency Injection Container PSR-11

  • di

    Lightweight and easy-to-use dependency injection library for PHP to simplify object management and promote loose coupling. (by commonphp)

  • Project mention: The Evolution of CommonPHP Framework: Thanks to Your Input | /r/PHPhelp | 2023-06-28

    Leading me to - https://github.com/commonphp/di/blob/master/src/ServiceContainer.php

  • garden-container

    A simple, but powerful dependency injection container.

  • wire-genie

    Autowiring Tool & Dependency Provider.

  • kaly

    Minimalist and modern php framework

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Dependency Injection related posts

Index

What are some of the best open-source Dependency Injection projects in PHP? This list will help you:

Project Stars
1 hyperf 5,929
2 Symfony DI 4,049
3 Pimple 2,627
4 PHP-DI 2,623
5 Nette DI 850
6 Container 827
7 Opulence 729
8 Auryn 726
9 Aura PHP 347
10 Acclimate 217
11 di 178
12 Disco 138
13 aphiria 137
14 php-di-container-benchmarks 73
15 di52 54
16 ClanCats Container 30
17 laravel-autowire-config 12
18 syringe 11
19 php-dependency-injection 6
20 di 5
21 garden-container 2
22 wire-genie 2
23 kaly 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com