Phpenv
lastmod 2026-11-10created 2020-12-213 edits
phpenv is a version management tool that lets you install multiple PHP versions and select a different version per directory or shell. Like Python's pyenv and Ruby's rbenv, it intercepts commands by placing shim executables at the front of PATH, and it downloads and builds sources with the php-build plugin. It is used when projects require different PHP versions.
Simple PHP version management.