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
<footer>{{ app.name }} {{ version() }} {{ version_hash() }} {{ version.release_date() }} </footer>
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...)
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...)