r/PHPhelp • u/thmsbrss • Dec 30 '25
Machine readable php -i output
Is there a CLI tool that outputs information similar to that from `php -i` in a machine-readable format such as JSON, YAML, or similar?
4
Upvotes
View all comments
Show parent comment
2
u/thmsbrss Dec 30 '25
Good idea, but
ini_get_alllacks some information, according to https://github.com/php/php-src/issues/11117It seems that there are some packages, see https://packagist.org/?query=phpinfo. Most of them for frameworks, which is a bit too much.