Excited to share a project I've been working on lately: PVM (PHP Version Manager).
As a PHP developer, I often find myself jumping between projects that require different PHP versions.
Every time I needed to switch versions, I ended up manually downloading PHP, updating PATH variables, and wasting time on something that should have been simple.
So I decided to build PVM.
The idea is simple:
Bring the nvm experience to PHP on Windows.
Now switching PHP versions is as easy as:
pvm install 8.3
pvm use 8.3
php -v
Some things PVM does today:
✅ Install PHP from the official Windows binaries
✅ Manage multiple PHP versions side by side
✅ Switch versions instantly
✅ No more manual PATH editing
Report
how does pvm handle switching versions on Windows since the PATH juggling there tends to get messy compared to macOS and Linux?
Report
One thing I'd love to see is a built-in command to switch PHP versions per project via a `.php-version` file in the repo root. Would make onboarding teammates way smoother when working across multiple codebases with different PHP requirements.
Report
Finally a PHP version manager that does not slow down my workflow. Zero dependencies is such a nice touch.
Report
the php-git oneliner setup saved me an afternoon of fiddling with my old docker setup. really nice work
how does pvm handle switching versions on Windows since the PATH juggling there tends to get messy compared to macOS and Linux?
One thing I'd love to see is a built-in command to switch PHP versions per project via a `.php-version` file in the repo root. Would make onboarding teammates way smoother when working across multiple codebases with different PHP requirements.
Finally a PHP version manager that does not slow down my workflow. Zero dependencies is such a nice touch.
the php-git oneliner setup saved me an afternoon of fiddling with my old docker setup. really nice work