Sillbeam Core
Checks module boundaries and direct dependencies in Symfony.
Explore CoreFOR MODULAR SYMFONY APPLICATIONS
Sillbeam Core checks dependencies between your Symfony modules from the CLI. The optional VS Code integration shows findings alongside your code.
SILLBEAM CORE / Architecture
────────────────────────────────────────────────────────────────────────────
✕ Architecture violations found
1 finding · 1 diagnosis · 3 modules · 0 projects
────────────────────────────────────────────────────────────────────────────
01 Circular module dependency
1 finding · Dependency graph
Billing → Payment → Catalog → Billing
Billing/BillingModule.php
+2 related locations (see -v)
WHAT IS WRONG
Declared dependencies form a cycle: Billing → Payment → Catalog →
Billing.
! IMPORTANT CONTEXT
Modules cannot depend on each other in a loop. Sillbeam cannot decide
which dependency your application should remove.
POSSIBLE NEXT STEPS
1. Domain option: Review the involved descriptors:
Billing/BillingModule.php, Payment/PaymentModule.php,
Catalog/CatalogModule.php. Decide which module should depend on the
other. Remove or redirect a dependency, or move shared contracts into a
separate module. Rerun architecture analysis.
────────────────────────────────────────────────────────────────────────────
Technical context: -v · No source files were changed.
src › Module › Billing › Service › InvoiceService.php
<?phpdeclare(strict_types=1);namespace App\Module\Billing\Service;use App\Module\Payment\Service\PaymentService;final readonly class InvoiceService{ public function __construct(private PaymentService $payments) { }}private PaymentService $paymentsbilling → payment
Core hintDeclare the target module as a direct dependency in the source module descriptor.
Rule: code.undeclared_dependency
App\Module\Billing\BillingModule → App\Module\Payment\PaymentModule<?php
#[SillbeamModule(
id: 'payment',
dependencies: [
CatalogModule::class
],
)]
final class PaymentModule {}ARCHITECTURE CHECKS
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 →Original output in English · Core v0.2.0 · Exit code 1: the container build is blocked.
SILLBEAM ECOSYSTEM
Core defines and checks the architecture. Integrations bring its findings into the editor.
Checks module boundaries and direct dependencies in Symfony.
Explore CoreShows Core diagnostics and verified locations in the editor.
Explore the VS Code integrationA planned editor view for Core findings and module boundaries.
Explore the PhpStorm conceptStrengths & limits
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 →Roadmap
Planned reusable building blocks for common Symfony applications.
Explore the Frame conceptA concept for architecture reports, statistics and trends over time.
Explore the Hub conceptSillbeam Core · v0.3.0
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 guidecomposer require 'websign-dev/sillbeam-core:^0.3.0'PHP ^8.4 Symfony ^7.4 / ^8.0