Important
The plugin requires a MISE installation to be used. Go to Quickstart
Although several PHP plugins are available for MISE, they often encounter errors on either Windows or various Linux distributions. The most common issue is locating the correct PHP versions. This is because PHP maintains its latest and older releases on different sites. Moreover, Windows and Linux installers are separated.
In the verzly/php repository, we collect these installers with daily updates and bundle all installers under a single release, associating them with the appropriate PHP version. The sole purpose of the verzly/mise-php plugin is to serve the necessary PHP version installers for both Windows and Linux systems based on the version numbers from verzly/php.
On Windows, we can work quickly using precompiled binaries.
For Linux and macOS systems, precompiling for each system is time-consuming, so the verzly/mise-php plugin builds the necessary binaries from the PHP source on each user's system when installing the given version. This process is time-consuming and can take anywhere from 1 to 5 minutes, depending on the machine (or virtual machine). The dependencies required for this are listed in /bin/install-dependencies.sh, which the system runs automatically.
# Install the plugin
mise plugin install php https://github.com/verzly/mise-php
# Install/Select version globally
mise use -g php@8
# Install/Select version locally (for current directory)
cd /path/to/php/project
mise use [email protected]
# Upgrade plugin to latest version instantly
mise plugin upgrade php
# Link your plugin for development
mise plugin link php /path/to/verzly/mise-php
This project is a plugin created for MISE by Zoltán Rózsa under the GNU Affero General Public License v3.0 (AGPL-3.0).
Copyright (C) 2020–present Zoltán Rózsa & Verzly
This version is licensed under the AGPL-3.0.
For full license terms, see the LICENSE file.
This project is made possible by much love and the other open source software.
| Name | License |
|---|---|
| verzly/php | MIT License © Zoltán Rózsa & Verzly |
Appreciation goes to GitHub Actions for enabling a dependable continuous integration system, which has been essential throughout the development process.
Finally, a heartfelt thank you to the broader open-source community and to the maintainers of the libraries used in this project. Your ongoing efforts make projects like this possible.
Motivation: Because together, nothing is impossible.