SILLBEAM HANDBOOK · v0.4.0

Version upgrades

Upgrade from Core 0.3 to 0.4 or consult the migration steps for older packages.

Version and requirements

Update the Composer constraint, then check CLI scripts, the cache and the architecture.

The package name, bundle, descriptors, registries, routing type and configuration alias carry forward. Core requires PHP ^8.4, Composer Runtime API ^2.2 and Symfony ^7.4 or ^8.0. See the Core notes for the tested matrix and the Symfony 8.0 resolution limit.

Upgrade to Core v0.4.0

The frozen v0.4.0 source is on dev-v0.4.x. The following command installs the branch for a test environment. An existing ^0.3.0 constraint stays on the stable 0.3 line.

BASH
composer require 'websign-dev/sillbeam-core:dev-dev-v0.4.x'

The bundle, namespace, descriptors, sillbeam configuration alias and routing import carry forward. Keep native service exclusions and explicit service and Doctrine overrides. The Core Console adapter in the existing bin/console exposes Core Data commands before container compilation.

Core’s development acceptance notes list PHP 8.4.26 and 8.5.4 with FrameworkBundle 7.4.23 and 8.1.11. Symfony 8.0 could not be resolved there with Composer security blocking enabled. See the compatibility notes.

Deployment requires successful cache clear, warmup and an explicit architecture check. See production operation and the Core upgrade guide.

CLI, exports and graph snapshots

Keep the Core Console adapter for fresh diagnostics before Symfony boots. Legacy Architecture JSON and Doctor JSON retain their v1 contracts. Live and Analysis follow the Core Data contract. Locale options change human-readable text. Review SVG snapshots because Graph 2.0 changes the layout.

Prepare caches and validate architecture

BASH
APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear
APP_ENV=prod APP_DEBUG=0 php bin/console cache:warmup
APP_ENV=prod APP_DEBUG=0 php bin/console sillbeam:architecture --format=json

Use a fresh build directory for each release. Switch traffic only after all three steps exit 0. Symfony may prepare its cache with architecture violations while Core defers its graph-dependent imports. Resolve findings, rebuild the cache and repeat the check. Non-debug HTTP without a compiled container returns 503 before discovery.

The Core upgrade guide describes the steps and behavior of long-running PHP processes.

Upgrade from v0.2.0 to v0.3.0

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

The package name, Sillbeam\Core\, bundle, configuration alias and routing type remain unchanged. The Module/Project model, architecture rules, runtime contracts and optional Doctrine integration require no migration. PHP ^8.4 and Symfony ^7.4 or ^8.0 remain required; no runtime dependencies are added.

Review existing scripts: compact module inspection shows DEPENDS ON / USED BY; -v provides technical details. Graphs write SVG by default. Mermaid consumers must specify --format=mermaid. Doctor additionally offers JSON v1 with unchanged status and exit semantics. Module inspection has no JSON mode.

BASH
php bin/console sillbeam:doctor --format=json
php bin/console sillbeam:inspect:module Billing
php bin/console sillbeam:inspect:module Billing -v
php bin/console sillbeam:graph
php bin/console sillbeam:graph --module=Billing --output=billing.svg
php bin/console sillbeam:graph --format=mermaid > architecture.mmd

Preserve bundle/routing integration, existing service exclusions and explicit overrides. Flex recipe 0.2 remains compatible; public Recipes Contrib availability is unconfirmed. Deliberately configure the Console adapter described above. Core does not automatically modify existing application files.

BASH
composer update websign-dev/sillbeam-core --with-dependencies
php bin/console sillbeam:doctor
php bin/console sillbeam:architecture --format=json
APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear
APP_ENV=prod APP_DEBUG=0 php bin/console cache:warmup

Run your application’s container and application tests and review the Composer/lockfile diff. A valid report does not replace a successful Symfony build. Production HTTP still requires a prebuilt cache; --no-warmup alone is insufficient.

Upgrade from v0.1.0 to v0.2.0

Areav0.1.0v0.2.0
Composerwebsign-dev/sillbeamwebsign-dev/sillbeam-core
PHP namespaceSillbeam\Sillbeam\Core\
BundleSillbeam\SillbeamBundleSillbeam\Core\SillbeamCoreBundle
ExtensionSillbeam\DependencyInjection\SillbeamExtensionSillbeam\Core\DependencyInjection\SillbeamCoreExtension
Optional kernelSillbeam\Kernel\SillbeamKernelSillbeam\Core\Kernel\SillbeamKernel
RepositoryWebSign-Dev/SillbeamWebSign-Dev/sillbeam-core

First replace websign-dev/sillbeam in composer.json with websign-dev/sillbeam-core using ^0.2.0 and update the lockfile. Do not install both packages together: no replace declaration or compatibility aliases are provided.

Change every Sillbeam\ PHP prefix in imports, attributes, fully qualified names, class-based service IDs, tests and custom integrations to Sillbeam\Core\. The bundle becomes Sillbeam\Core\SillbeamCoreBundle, the extension Sillbeam\Core\DependencyInjection\SillbeamCoreExtension. The optional kernel is Sillbeam\Core\Kernel\SillbeamKernel. Application namespaces stay unchanged.

Replace the old bundle entry in config/bundles.php. Review Flex diffs; the locally prepared recipe is at websign-dev/sillbeam-core/0.2, with public availability requiring separate confirmation. Preserve custom service exclusions and routing configuration.

The sillbeam configuration alias, sillbeam:* CLI names, routing type sillbeam and named service IDs such as sillbeam.module_registry stay unchanged. The rename requires no database migration.

BASH
composer update
composer dump-autoload
APP_ENV=dev php bin/console cache:clear
APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear
APP_ENV=prod APP_DEBUG=0 php bin/console cache:warmup
APP_ENV=prod APP_DEBUG=0 php bin/console sillbeam:architecture --format=json

Review Composer changes deliberately and run application tests. Rebuild container and route caches for each environment. Prepare production as a fresh release with its own cache and stop on every nonzero exit. --no-warmup alone does not prepare an HTTP-ready release.

Consumers parsing exception text must migrate to structured findings: ArchitectureValidationException remains a LogicException but includes the aggregate result in result. Enable the optional Console adapter to generate reports even when the container cannot boot. JSON consumers must account for schema_version, complete, exit status and unknown activation values.

Historical version evidence

The 23 October RC report records checks with PHP 8.4.26/8.5.4 and Symfony 7.4.21/8.1.9. The newer 24 October class-analysis audit covers PHP 8.5.4 with FrameworkBundle 8.1.6 and HttpFoundation 8.1.9; it did not rerun PHP 8.4 or Symfony 7.4. The reports document their stated versions and checks, not a complete support matrix.

The integration examples below exclusively use the new Core identity. Do not combine them with the v0.1.0 package.

Core v0.2.0 was released on October 25, 2026. The historical Billing/Payment example remains evidence for v0.1.0; the consumer snapshot at 74cffb0 is also historical and is not attributed to the release commit.