Fast, zero-dependency PHP version manager for Windows, macOS, and Linux. - hasanhawary/pvm
Replies
Best
Maker
📌
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
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
how does pvm handle switching versions on Windows since the PATH juggling there tends to get messy compared to macOS and Linux?
Report
Finally a PHP version manager that does not slow down my workflow. Zero dependencies is such a nice touch.
Replies
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.
how does pvm handle switching versions on Windows since the PATH juggling there tends to get messy compared to macOS and Linux?
Finally a PHP version manager that does not slow down my workflow. Zero dependencies is such a nice touch.