:zap: PHP version manager written in rust
.php-version
curl
/ps
instalationPATH
environment variable
cargo install phpup
Add the following to your .bashrc
or .zshrc
bash
eval "$(phpup init --auto --recursive)"
phpup use
when a directory contains a .php-version
file, add the --auto
(long: --auto-switch
) option..php-version
file in a parent directory when running phpup use
automatically, add the --recursive
(long: --recursive-version-file
) option.phpup init --help
.
phpup help
PRs Welcome :tada: