@php-vm/php-vm
v0.4.1
Published
Linux command line tool for managing locally installed PHP versions.
Downloads
7
Readme
pvm
A simple PHP Version manager.
Installation
PNPM
pnpm i -g pvm
NPM
npm i -g pvm
Usage
Options:
-v, --version output the current application version
-h, --help display help for command
Commands:
status|s Show current PHP version status
setup Setup php version manager. Will setup php repository list
ls [options] List PHP available versions and modules
use|u <version> Switch PHP version
install|i [options] <version> Installs a PHP version or composer
xdebug|x [sapi] [status] Manage XDebug status
restart|r Restart PHP-FPM and NGINX
help [command] display help for command
Example for updating from PHP 7.4 to PHP 8.2:
pvm i 8.2
pvm use 8.2