Skip to content

v1.15.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 11:10
· 3 commits to main since this release
5078792

v1.15.0 - 2026-10-28

Added

  • Zsh tab completion (#38): Sourcing phpvm in Zsh with the completion system loaded registers the existing completion through bashcompinit, as nvm does. Version completion now lists installed versions for every supported package manager, not only Homebrew, and covers ls, reinstall-extensions, install --reinstall-extensions-from, and self-update --force.
  • phpvm ls <pattern> (#39): Filter installed versions by whole version components (phpvm ls 8, phpvm ls 8.2), by alias (phpvm ls default), or to system. Exits with code 3 when nothing matches.
  • Reinstall extensions from another version (#40): phpvm install 8.4 --reinstall-extensions-from=8.3 and phpvm reinstall-extensions <from> [to] install the extensions one version loads (from php -m) into another, like nvm's --reinstall-packages-from. apt installs the matching phpX.Y-<ext> packages; Homebrew uses the target version's pecl; other package managers list what to install.
  • Automatic switching from composer.json (#41): Set PHPVM_AUTO_USE_COMPOSER=true to let startup, the cd hook, and phpvm auto use the nearest .phpvmrc or composer.json PHP requirement. The default remains .phpvmrc only.

Fixed

  • CHANGELOG dates and links (#42): Release headings use the date each GitHub release was published, and the 0.0.1 entry links to its commit history instead of a non-existent 0.0.0 tag.
  • Unload leftovers: phpvm unload also removes the completion registration and its helper functions.

Changed

  • phpvm install arguments: Unknown options and extra version arguments are rejected with exit code 2 instead of being ignored.