Skip to content
docsv0.1.0

Milpa Container v0.1.0

The reference dependency injection container of Milpa — the concrete DIContainer behind milpa/core's DIContainerInterface. Reflection autowiring, lazy singleton resolution, and circular-dependency detection with full chain reporting, on top of a PSR-11 surface.

Modules declare the capabilities they provide and require, expose tools an agent can invoke, and gate mutating actions behind verification. The contract loop that runs through the whole system:

plugin → capability → tool → verification → event → result

installbash
composer require milpa/container

API reference

1 public types across 1 namespaces — every symbol carries a DocBlock, and this reference is generated straight from them.

Container 1