pragmarx/version
PragmaRX Version is a lightweight Laravel package for managing and displaying your application version. Easily define, retrieve, and update version numbers, expose them in views or APIs, and keep release metadata consistent across environments.
major.minor.patch plus build metadata like build number, commit SHA, and timestamp), which turns "what version are you running?" from a Slack archaeology exercise into a Version::get() call. This directly supports decisions about how strictly to enforce semantic versioning, who bumps versions, and when./about or /status endpoint, or an API response header lets support and QA correlate bug reports to an exact build. This supports decisions around SLA targets, escalation paths, and whether to invest further in observability.version:build command can stamp builds with git and date metadata, letting you decide whether build provenance lives in-app (cheap, coarse) or in a dedicated artifact/registry system (expensive, rigorous).Adopt when:
Look elsewhere when:
For executives: This is a small, cheap capability with a clear operational payoff: every customer, support agent, and auditor can see exactly which build is running. That shortens support resolution time, makes release notes and audit evidence trivially accurate, and removes a recurring "which version is in production?" ambiguity. Cost is a single MIT-licensed dependency and roughly a day of engineering, with no infrastructure change. The risk is low and reversible — the functionality is small enough that we can replace it in-house if the package ever goes stale.
For engineering: It standardizes how we derive and expose app version and build metadata — one facade, one artisan command, one config file, wired into our footer, /status, and API headers. It does not touch deployment, CI, or runtime behavior. Two caveats to flag: confirm compatibility with our Laravel/PHP versions and the package's recent commit activity before adoption, and be deliberate about whether commit SHAs are exposed publicly. If either caveat is uncomfortable, the fallback is a ~30-line internal helper reading a build file written by CI — same outcome, no dependency.
Recommendation: Approve a short spike to validate compatibility and pick exposure points (footer, health endpoint, response header). Treat it as a convenience layer, not a release-management strategy — pair it with a documented semver and tagging convention so the version string stays meaningful.
How can I help you explore Laravel packages today?