Skip to content

Architecture preset

The optional Pest preset copies into the consuming application's tests/Arch/ directory. It checks a subset of Pulsar dependency direction and is not installed automatically.

Install

mkdir -p tests/Arch && cp vendor/faran/pulsar/presets/PulsarArchitectureTest.php tests/Arch/PulsarArchitectureTest.php

Scope

It prevents Domain imports of Services, keeps Infrastructure out of workflow and delivery namespaces, and limits Controller dependencies. Applications with equivalent rules may keep their existing enforcement.