toolcompass.

Find your next AI tool

Search by product name or task. Press Escape to close.

PHP-DI

● Identity checked

Library · Vendor site 2026-10-04

PHP-DI is a dependency injection container for PHP focused on practical autowiring, PHP definitions, attributes, and framework integrations. The documentation walks through configuring containers, lazy injection, and adapters for Slim, Symfony, Zend, and other stacks so applications resolve services without manual singletons.

Updated 2026-10-04View sources
Official website
Category
Library
Free access
PHP-DI is open-source software with free documentation and a demo application on php-di.org.
API access
Not confirmed

Is PHP-DI right for you?

A good fit for

PHP application authors who want a human-friendly DI container with autowiring and framework bridges.

Before you choose

Container performance and wiring complexity still depend on how many definitions and lazy services you register.

Practical PHP DI

PHP-DI combines autowiring and explicit definitions so PHP apps and microframeworks can resolve services through a single container configuration.

What it can do

Features & capabilities

Unknown is different from unavailable. Each fact carries its own evidence.

CapabilityValueEvidenceChecked
PositioningSite title calls PHP-DI a dependency injection container for humans with practical APIs.Facts sourced2026-10-04
AutowiringDocumentation section covers autowiring, PHP definitions, and PHP attributes for wiring.Facts sourced2026-10-04
Framework supportDocs list integrations for Slim, Symfony, Zend Framework, and Silex among others.Facts sourced2026-10-04

Understand the total cost

PHP-DI pricing & plans

Free

Free

PHP-DI is open-source software with free documentation and a demo application on php-di.org.

Access
PHP-DI is open-source software with free documentation and a demo application on php-di.org.
Explore pricing & history

Alternatives to PHP-DI

View all ↗

The practical questions

Frequently asked questions

What is PHP-DI used for?

PHP-DI is a dependency injection container for PHP focused on practical autowiring, PHP definitions, attributes, and framework integrations. The documentation walks through configuring containers, lazy injection, and adapters for Slim, Symfony, Zend, and other stacks so applications resolve services without manual singletons.

Does PHP-DI have a free plan?

PHP-DI is open-source software with free documentation and a demo application on php-di.org.. This record lists ongoing free access; check the plan limits before starting.

How much does PHP-DI cost?

No paid monthly price is listed; this record treats the product as free to start. See the plan cards for entitlements, billing commitments and seat minimums.

Can I use PHP-DI through an API?

Not confirmed. API access and subscription access may have different terms; consult the linked sources.

What should I check before choosing it?

Container performance and wiring complexity still depend on how many definitions and lazy services you register.

Price history

No retained pricing changes yet. A current price alone does not establish a historical trend.

How this profile is supported

Facts apply to the named version and check date. Send a sourced correction if something changed.