You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to access the version information from twig, the 3 variables injected into the DI, since I almost always want to show the version info somewhere on the site, like the footer or an about page.
application.version - the application's version (the format depends on the configured versioning strategy)
application.version_hash - an MD5 digest of the version
application.release_date - an [RFC 3339](https://tools.ietf.org/html/rfc3339) formatted date on which the version was last incremented
Actually, I'd like a 'application' to contain more than the version info, I'd like to it contain name, code, github repo, etc. That's above and beyond this bundle, but I noticed that the prefix is bizkit, and I wonder if you had ideas for including more than just versioning. Since you're already tightly tied with the versioning system, I'd love to have the name (the "name" property in composer.json) and branch also injected into the DI. And a link to the github repo.
Above and beyond this bundle, but just brainstorming about things I'm looking at when adding the version to the applications.
I'd like to access the version information from twig, the 3 variables injected into the DI, since I almost always want to show the version info somewhere on the site, like the footer or an about page.
They could also be injected as twig globals.
AbstractBundle makes this kind of stuff easier, but it's Symfony 6.4+ only.
(Okay, I'll stop with the issues! I'm just kinda excited about using this...)
The text was updated successfully, but these errors were encountered: