Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Version Bundle Laravel Package

asgoodasnu/version-bundle

asgoodasnu/version-bundle is a PHP package that adds flexible versioning support to your application, making it easy to define, manage, and expose version information through a simple, configurable integration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Release visibility as a product capability. The package's real value to a PM is not the code — it is the pattern: a single source of truth for version, commit SHA, and build timestamp, exposed everywhere. This underpins support workflows ("what version are you on?"), incident triage, and customer-facing "About" screens. Any roadmap item touching release management, supportability, or debugging depends on this plumbing existing.
  • Deployment and ops observability roadmap. A version endpoint is the cheapest building block for blue/green and canary verification, rollback confirmation, and release dashboards. If the roadmap includes CI/CD maturity, environment promotion, or "know what's running in prod," this pattern is a prerequisite — not a nice-to-have.
  • Support and escalation cost reduction. Centralised version metadata directly reduces mean-time-to-resolution: support engineers stop guessing, engineers stop chasing "which build?" tickets. This is a defensible, quantifiable ops-cost argument in roadmap prioritisation.
  • Build vs. buy / build vs. port. The package itself is a Symfony bundle with zero stars and zero dependents — not a Laravel package and not a maintainable dependency. The PM decision is therefore "is this pattern worth 1–2 days of engineering to replicate natively?" — and the answer is almost always yes, because the Laravel-native port is a config file plus a controller (see below). Treat the repo as a design reference, not a procurement target.
  • What it does not decide. It gives no signal on pricing, positioning, or customer-facing differentiation. Version display is table stakes for any deployable product. It also does not support data/entity versioning decisions (revision history, audit trails) — "version-bundle" is ambiguous, but this package is release-metadata versioning, not record versioning. Do not let it leak into an audit-trail roadmap conversation.
  • Roadmap candidates it would unlock: /version and /health endpoints; "About" or release-notes surface in the product; release dashboard integration; automated smoke checks post-deploy; support tooling that reads the running version.

When to Consider This Package

Consider it (as a reference, not a dependency) if:

  • You are on Symfony and want a five-minute, config-only way to expose version metadata via Twig and services.
  • You want a working example of the shape of a version-exposure layer — how config, a controller, a service, and a template helper wire together — before building the equivalent in Laravel.
  • You need a prototype in a day to demonstrate the ops/support value to stakeholders before committing engineering time.

Look elsewhere (the default recommendation) if:

  • You are on Laravel. This is the common case and the honest answer: it is a Symfony bundle. There is no service provider, no facade, no Composer autodiscovery, no extra.laravel.providers. Requiring it buys nothing you can use. The Laravel-native equivalent is a config/version.php reading APP_VERSION, APP_COMMIT, APP_BUILT_AT env vars, plus a small VersionController returning flat JSON — roughly two files and an afternoon.
  • Adoption signals are zero. Zero stars, zero dependents, package score of 0. No community validation, no security triage, no upgrade path, no upstream fixes. For a component whose entire job is to be reliable, that is disqualifying as a production dependency.
  • You need it to survive a framework upgrade. An unmaintained Symfony bundle will drift against new Symfony/PHP versions. You would own the fork. That cost exceeds the cost of the native implementation many times over.
  • You already have mix/Vite content hashing and only need asset cache-busting. Different problem, already solved natively — do not conflate it with release-metadata versioning.

Decision rule for the PM: if the target stack is Laravel, treat this as "build the pattern natively, ~1–2 days" and close the evaluation. Only reopen the "adopt" question if the stack is genuinely Symfony and the team accepts full ownership of an unmaintained bundle.

How to Pitch It (Stakeholders)

Executive summary: "This is a small Symfony bundle that centralises application version information — version number, commit hash, build time — so it can be surfaced consistently in an endpoint, a template, or a service, instead of being hardcoded in scattered places. It is unmaintained and has zero measurable adoption — no stars, no dependent projects. I do not recommend taking it as a production dependency, and it is not a Laravel package regardless. I recommend we treat the capability, not the code, as the decision: replicate the pattern natively in about one to two engineering days. That gives us a single source of truth for version metadata, a machine-readable /version endpoint for ops and support, and zero ongoing ownership cost. The bundle itself is useful only as a design reference."

To engineering: "The repo is a Symfony bundle, so there is nothing to install in Laravel. The pattern is portable and small: a version config sourced from build-time env vars, a controller exposing flat JSON with a short cache header, and — if we want it — a Blade helper or injected service for surfacing the version in the UI. The only real decisions are (1) where the version value comes from (build pipeline vs. git tag vs. a static file, and we should inject it at build time, not read it at runtime), and (2) whether the endpoint is public and cacheable (it should be). One afternoon, two files, no dependency. Read the bundle's Configuration.php and controller first if we want a sanity check on the payload shape — then close the tab."

Risk framing for the decision log: Adopting it means importing a second framework's conventions for one narrow feature, owning an orphaned codebase with no upstream security patches or framework bumps, and solving a problem the native port solves in a day. The total cost of ownership of adoption clearly exceeds the cost of a ~1–2 day native build. Recommended action: close the evaluation, build narrowly, and record the version-metadata pattern as an internal standard so future products get it consistently rather than re-deciding each time.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel