PHP plugin for the asdf version manager or mise; uses Homebrew for PHP installation instead of compiling PHP.
Throughout the use of this documentation, whenever asdf
as a command is used, mise
should work as well.
Plugin:
asdf plugin add php https://github.com/ntzrbtr/asdf-php-brew.git
PHP:
# Show all installable versions
asdf list-all php
# Install specific version
asdf install php 8.2
# Set a version globally (on your ~/.tool-versions file)
asdf global php 8.2
Check asdf readme for more instructions on how to install & manage versions.
Contributions of any kind welcome! See the contributing guide.
Thanks goes to these contributors!
See LICENSE © Thomas Off