FOR MODULAR SYMFONY APPLICATIONS

Architecture you can
actually see.

Sillbeam Core checks dependencies between your Symfony modules from the CLI. The optional VS Code integration shows findings alongside your code.

VS Code / Sillbeam
Sillbeam
⌄ Architecture

Architecture violations

1 Finding · 2 Modules

billing-payment

Check the architecture

▸ More actions

Core diagnoses

Undeclared module access

Missing declarations · Error

Affected modules

billing, payment

Possible resolution

If the relationship is intended by design, declare PaymentModule::class as a direct dependency in BillingModule.

Affected files

Billing/BillingModule.phpPayment/PaymentModule.php

1 Finding

▸ Problem and background

Saved files only
⌄ Locations

▸ InvoiceService.php 1

⌄ Installation / Doctor

ⓘ Not verified

☷ Run Doctor

⌄ Graph

Not loaded

↻ Generate Graph

◎ Focus on module

php InvoiceService.php 1

src › Module › Billing › Service › InvoiceService.php

InvoiceService.php:11 · billing uses PaymentService from payment without a direct dependency. Sillbeam(code.undeclared_dependency)

private PaymentService $payments
Sillbeam · Architecture

billing → payment

Core hint

Declare the target module as a direct dependency in the source module descriptor.

Rule: code.undeclared_dependency

App\Module\Billing\BillingModule → App\Module\Payment\PaymentModule
⊗ 1 · SillbeamLine 11 · UTF-8 · PHP
Illustrative editor view · Marketplace · v0.1.0Explore the integration Understand the diagnosis

ARCHITECTURE CHECKS

Why does Core report a cycle here?

BillingPaymentCatalog
Three modules. One closed dependency cycle.

The path back through Catalog

Billing needs Payment. Payment uses Catalog. When Catalog depends on Billing, the loop closes.

In this example, Core v0.2.0 blocks the container build. In v0.4.0, you run the architecture check separately from cache preparation.

See the Billing/Payment example →
Source and reproduction

Original output in English · Core v0.2.0 · Exit code 1: the container build is blocked.

SILLBEAM ECOSYSTEM

One Core. Multiple ways to use it.

Core defines and checks the architecture. Integrations bring its findings into the editor.

Available · v0.3.0

Sillbeam Core

Checks module boundaries and direct dependencies in Symfony.

Explore Core

Strengths & limits

What Sillbeam does.
And what it leaves to you.

Explicit module boundaries help when business-domain dependencies are hard to trace. The team still models and maintains those relationships.

Review the trade-offs Performance benchmarks →
  • Explicit module boundaries
  • Early architecture diagnostics
  • Added modelling effort
  • No automatic refactoring

Roadmap

Planned extensions

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