SILLBEAM CORE

Architecture rules. Clear boundaries.

Core is the foundation for explicit module boundaries in Symfony. The 0.4 line extends the same analysis with Core Data, localized diagnostics and Graph 2.0.

billing / Module inspection

Inspect local module state

BASH
php bin/console sillbeam:inspect:module Billing
Look up the command in the handbook ↗

CORE IN PRACTICE

Make structure verifiable.

Core adds enforceable module boundaries to Symfony. Symfony still provides the service, routing and runtime mechanisms.

Modules as architecture boundaries

A #[SillbeamModule] descriptor defines identity, scope and direct dependencies. The module boundary covers its directory and subdirectories.

Check dependencies

Core detects cycles, undeclared direct class references and invalid access to private modules. Findings include the available source context.

Inspect module state

Module inspection explains scope, configuration, activation and direct dependencies. Doctor inspects the installation and common setup issues.

THE SHARED FOUNDATION

One rule set. Multiple views.

The CLI, reports, graphs and IDE integrations all get their findings from Core. A cycle such as Billing → Payment → Catalog → Billing can be investigated in the terminal and as a dependency graph.

IDE integrations
BillingPaymentCatalog
Three modules. One closed dependency cycle.

Strengths & limits

A fit for your project?

Core checks supported static references within the configured discovery scope. Dynamic references, runtime behavior and tenant isolation are outside the analysis. Projects share a single Symfony application.

Strengths & limits
MEASURED, NOT PROMISED

Build cost and runtime.

Performance acceptance for v0.4.0

100 synthetic modules, PHP 8.5.4, FrameworkBundle 8.1.6, CLI OPcache off. The comparison covers native Symfony and Core before (5070bfa) and after optimization (d1070c1). HTTP measures kernel time within the PHP process.

Measurement (ms)Symfony5070bfad1070c1
Dev · Warm HTTP p507.4511.867.08
Prod · Cold build1456.813165.672531.24
Prod · Architecture check, primed index—1265.44233.66
Prod · Warm HTTP p954.464.525.15

Production builds still cost more than native Symfony. A slow batch shifted the initial warm HTTP p95. In the independent control with nine pairs of 150 follow-up requests, both Core revisions reached 4.50 ms at p95 (p50: 2.91 → 2.90 ms).

Full matrix (CSV) · Control measurements (CSV)

Historical comparison with native Symfony · v0.2.0

A synthetic comparison of Core v0.2.0 and native Symfony: 100 modules, identical services, routes and responses. Measured on 23 October 2026.

MetricNative Symfony (ms)Core v0.2.0 (ms)
Cold build · p501,589.244,409.46
Warm HTTP · p503.3973.404
Warm HTTP · p955.0525.031

Very similar response times in the measured warm HTTP test. The additional architecture checks increase container build time. These results apply to the documented synthetic test setup.

Method and limitations

PHP 8.5.4, FrameworkBundle 8.1.6, HttpFoundation 8.1.9; one workstation, CLI OPcache and JIT disabled. Three build repeats, 150 warm HTTP samples per variant. HTTP here means in-process Kernel::handle(), without network, FPM or concurrent load. No Projects, Doctrine or database.

Synthetic linear dependencies are not capacity planning. Warm HTTP processes loaded neither the analyzer nor the PHP parser. Rerun on the target environment with realistic load before making your own claims.

Source: measurements from 23 October 2026. Raw data, source revision and reproduction instructions are documented in the Core repository. Measurements and reproduction

CORE v0.4.0

Core Data, localization and Graph 2.0.

The handbook covers v0.4.0. The archived PHPDoc reference covers v0.3.0.

CORE DATA API V1

Live & Analysis

Live returns the module catalog, references and diagnostics in one language. Analysis adds structured graph data, source inventory, Doctor and both languages. A fingerprint depends on sufficiently stable and complete inputs.

Core Data API

CLI

CLI in German or English

Human-readable findings use the explicit --locale option, a personal preference or the project default. Machine formats follow their own versioned contracts. Analysis includes both languages.

CLI reference

GRAPH 2.0

Native SVG graphs

Core produces native SVG graphs with deterministic dependency layers, scope bands and orthogonal edges. Module focus and Mermaid export remain available.

Graph 2.0

Core v0.4 separates cache preparation from the explicit architecture check. Both must pass before a production release. Check export status when analysis is incomplete. Technical changes in v0.4.0 ↗

Sillbeam Core · v0.3.0

Start with one module.

The guide takes you from the Composer package and service imports for your module under src/Module/ to your first architecture check.

Open the installation guide

In your Symfony project

BASH
composer require 'websign-dev/sillbeam-core:^0.3.0'

PHP ^8.4 Symfony ^7.4 / ^8.0