Kaarrot runs on Windows 10 and 11. These docs cover the first public release.
PHP versions
Install several PHP versions on Windows with Kaarrot, set a global default and pin a different version per project.
Kaarrot keeps several PHP versions installed side by side. Each version has its own php.ini and extension set.
Global and per-project versions
- The global version is what
phpruns in any terminal. - A per-project version wins inside that project’s folder and on its
.testhost.
kaarrot php use 8.4 # global
kaarrot php use 8.1 --project # this folder only
This lets an older client site on PHP 8.1 and a new project on PHP 8.4 run at the same time on the same machine, without containers.
Extensions and Xdebug
kaarrot php ext enable xdebug
Xdebug is set up for port 9003 and is off by default.
Composer
Composer is bundled and always follows the active PHP version.