Skip to content
docsv0.8.0

Milpa Core v0.8.0

The framework-agnostic contracts core of Milpa — a modular PHP runtime for applications operable by both humans and agents. No ORM, no HTTP client, no kernel: just the primitives every Milpa module builds on.

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/core

API reference

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

Attributes 4

DTO 3

Enums 4

Events 8

Exceptions 12

Interfaces 13

Services 4

Support 1

ValueObjects 9