netbrothers-gmbh/version-bundle
NetBrothers VersionBundle helps Symfony apps centralize and expose application version/build metadata. Configure a version once and access it in services and Twig templates for easy display, diagnostics, release tracking, and consistent version reporting across environments.
>=8.4 floor. Adopting it is a forcing function that pulls the whole application onto PHP 8.4 — treat this as an infrastructure roadmap decision owned jointly with platform/DevOps, not a routine composer update.final is a deliberate signal that the package is closing its inheritance surface. If your product relies on subclassing its commands/services to add behaviour, the buy-vs-build calculus changes: you now either upstream contributions, wrap via composition/decoration, or replace the package with an in-house implementation.Adopt when:
Look elsewhere or defer when:
final BC break will surface as fatal errors at class-load time, not as a deprecation notice — audit before upgrading.Migration guidance to carry into the ticket: the upgrade is small but non-optional in scope — bump PHP to 8.4, resolve Symfony 7.4/8, then grep the codebase for extends against the package namespace and convert each hit to composition, a decorator, or a container binding before merging.
To executives: This is a maintenance major-version release of an actively maintained dependency. It keeps us aligned with the current Symfony and PHP ecosystem, which is the main long-term support risk for a Laravel codebase. There is no new product capability here — the cost is an infrastructure upgrade (PHP 8.4 across our environments) and a bounded audit of our own code. The upside is that we stay on a supported line instead of accumulating an unpatched dependency. The decision required is scheduling, not budget.
To engineering: v4.0.0 modernises for Symfony 7.4/8, raises the floor to PHP 8.4, and refreshes the docs. The one breaking change is that all service and command classes are now final. Practically, that means: no more subclassing the package's commands or services, and no more overriding its internals — use decoration, container bindings, or upstream PRs instead. Before upgrading, grep for extends against the package namespace; those sites fail hard, not softly. Treat the PHP 8.4 requirement as the real work item and the final change as a small, mechanical refactor. Once both are done, the upgrade itself should be uneventful, and we gain a package that will track the next Laravel LTS cycle without another forced migration.
How can I help you explore Laravel packages today?