Skip to content

Sillbeam Core v0.3.0

Latest

Choose a tag to compare

@BenjaminOeffinger BenjaminOeffinger released this 30 Oct 16:09
· 1 commit to main since this release

Sillbeam Core v0.3.0 focuses on developer experience, architecture visualization, installation diagnostics, and API documentation.

Building on v0.2.0, this release introduces new tools to inspect individual modules, visualize dependencies, and integrate installation diagnostics into development workflows.

The existing architecture rules and Symfony runtime integration remain unchanged.

What's New

Architecture Visualization

The new sillbeam:graph command generates an SVG diagram directly from the analyzed module architecture.

php bin/console sillbeam:graph
php bin/console sillbeam:graph --module=User
php bin/console sillbeam:graph --output=docs/architecture.svg
php bin/console sillbeam:graph --format=mermaid

Key features:

  • Native SVG generation without Graphviz, Node.js, or external renderers.
  • Visual representation of module dependencies and Project boundaries.
  • Focused views of individual modules and their direct relationships.
  • Highlighting of undeclared dependencies, disabled modules, unknown states, and recorded cycles.
  • Mermaid source export for external documentation and tooling.

Module Inspection

The new sillbeam:inspect:module command provides a focused view of individual modules.

php bin/console sillbeam:inspect:module User
php bin/console sillbeam:inspect:module User -v
php bin/console sillbeam:inspect:module User --project=shop

The compact output shows module activation, outgoing dependencies, incoming relationships, and related architecture findings.

Verbose mode provides descriptor classes, configuration details, source locations, and original diagnostic evidence.

Declared and observed dependencies are presented together while preserving their distinct meanings.

Doctor JSON Output

Installation diagnostics now support structured JSON output.

php bin/console sillbeam:doctor --format=json

The versioned JSON schema includes stable check identifiers, statuses, and diagnostic information, making Doctor results easier to integrate into IDE plugins and other development tools.

Text output remains the default.

Improved Installation Diagnostics

The installation workflow has been refined with clearer guidance for:

  • Bundle registration and routing integration.
  • Symfony service-import configuration.
  • Console adapter setup.
  • Common installation mistakes and required manual actions.

Doctor remains a read-only, static diagnostic tool. It does not automatically modify application files.

API Documentation

Public API contracts and relevant implementation details now include expanded PHPDoc documentation.

New development commands:

composer docs:build
composer docs:export-json
  • HTML API documentation generated with phpDocumentor.
  • Structured English API documentation exported as JSON.
  • Explicit public and internal API boundaries.
  • Versioned JSON schema for documentation consumers.

Documentation generation is development-only and introduces no additional production runtime dependencies.

Installation

Requirements:

  • PHP 8.4+
  • Symfony 7.4 or 8.x
  • Composer 2

Once the v0.3.0 tag is available on Packagist, install or upgrade with:

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

Sillbeam Core integrates with existing Symfony applications. Doctrine integration remains optional.

See the Getting Started Guide for configuration and setup instructions.

Compatibility Notes

Version 0.3.0 preserves the existing public PHP APIs, architecture rules, module activation behavior, and runtime integration introduced in v0.2.0.

Two CLI changes require attention:

  • sillbeam:graph generates an SVG file by default. Use --format=mermaid for raw Mermaid output.
  • sillbeam:inspect:module uses a new compact text layout. Scripts parsing its terminal output may need adjustment.

No new mandatory runtime dependencies are introduced.

Verification

The release was validated against the following compatibility matrix:

PHP Symfony
8.4 7.4
8.4 8.1
8.5 7.4
8.5 8.1

All four GitHub Actions compatibility jobs passed, including automated tests, static analysis, architecture checks, documentation builds, Composer package verification, and Flex integration tests.

Documentation & Links


Sillbeam Core is an open-source modular architecture extension for Symfony.

Licensed under the MIT License.

Build what matters.