php-debugbar
php-debugbar copied to clipboard
How to retrieve Debug Bar version number?
How can we programmatically get the version number of our PHP Debug Bar install?
Using Composer
\Composer\InstalledVersions::getVersion('maximebf/debugbar')
What do you need it for?
I want to poll the installed version number to test against the latest version to make sure I'm up-to-date. Why do you ask?
You can run composer show
Can that be done from PHP?
@s22-tech are you deliberately ignoring my suggestion?
Can that be done from PHP?