vaslv/filament-app-version
Filament plugin for app version management, letting you display and track your application's version inside the admin panel. Handy for keeping version info visible to admins and teams.
What it is: A Filament panel plugin that renders the application version as a chip adjacent to the panel logo, resolving the version string from a prioritised chain of sources (e.g. explicit config → APP_VERSION env → composer.json → git tag → package.json), inheriting the panel's own primary colour palette, and gated behind authentication by default.
Architecture fit
PanelProvider registration plus an optional config file.->plugin() registration.Integration feasibility
composer require vaslv/filament-app-version, add the plugin to the relevant panel(s), optionally publish config to pin the source order. Estimate well under a day including verification.Technical risk
composer.json constraint explicitly rather than trusting the README.composer.json or shells out to git on each panel page load, that is per-request I/O on every authenticated page. Confirm caching or add it..git in the artefact). The practical chain in production will usually be config → env, which means the real requirement is that our release pipeline injects APP_VERSION — a process dependency, not a package feature.Key questions to resolve before adoption
filament/filament?unknown?Stack fit
PanelProvider. Where we run multiple panels (e.g. internal ops vs. a customer-facing portal), register selectively — internal-only is the sensible default.Migration path
APP_VERSION (semver + short SHA) into the deploy configuration so the resolver has a reliable, deterministic source in every environment, including container images with no .git and no dev dependencies installed.Compatibility
composer.json and lock the package to that same major before merging. Do not allow a floating constraint on a package with one maintainer.Sequencing
.git removed and APP_VERSION unset.app/Filament/Plugins/ under our licence obligations (MIT permits, retain attribution) and own it. Forking is cheaper than tracking a one-maintainer dependency.APP_VERSION into env/config at build time; make it the first-priority source so behaviour is identical across local, staging, and production.Maintenance
Support
Scaling
Cache::rememberForever) so it is not re-derived per request, and never shell out to git on a hot path.Failure modes
composer.json, a permissions change, or a malformed config takes down every authenticated page. Must confirm the resolver is defensive; if not, wrap it.unknown chip. Low severity but erodes trust in the signal — the indicator is only useful if it is always correct. Alert on it.Ramp-up
APP_VERSION propagation), which belongs to platform/DevOps rather than the feature team.TPM verdict
The engineering cost is genuinely small and the risk is contained because the fallback is a few dozen lines we control. The honest framing for stakeholders is that we are not adopting a dependency so much as borrowing a pattern: vendor it, own it, wire APP_VERSION into the pipeline as the authoritative source, and treat the upstream as reference material. Do not add it to the dependency inventory as a supported third-party component.
How can I help you explore Laravel packages today?