I would like to show the version/build in my PHP Laravel project footer in a variable from Git.
I need someway to automatically store, update, commit the build version every time any of my developers do a Git commit using SourceTree/Bitbucket.
It is fine if something is already built into Git and if I can pull this straight from git and use that within my webpage PHP footer. It can be something simple and just reflect a string + timestamp to the second on every commit.
I do not know the best way or anyway to really do this and did not find any information that helped me.