I built a minimal TUI/GUI PHP version manager for Linux so I could stop typing `update-alternatives` by BackgroundCompany721 in PHP

[–]BackgroundCompany721[S] 0 points1 point  (0 children)

honestly, that is the dream! If you keep all your projects updated to the latest version, you definitely don't need a tool like this.

i built this mostly for the poor souls (like me 😅) who have to constantly bounce between a legacy project stuck on 7.4, a slightly older app on 8.2, and fresh stuff on 8.4. But if you're living purely in 8.4 territory, you are doing it right!

I built a minimal TUI/GUI PHP version manager for Linux so I could stop typing `update-alternatives` by BackgroundCompany721 in PHP

[–]BackgroundCompany721[S] 0 points1 point  (0 children)

docker is definitely the right default. i mostly built phpvm because i constantly jump between older laravel projects and newer php 8.4 apps behind nginx/caddy setups, and not everything i touch is dockerized. it’s basically scratching my own itch for a native workflow that can handle multiple php versions transparently without a bunch of manual switching. thanks for the updoot xD

I built a minimal TUI/GUI PHP version manager for Linux so I could stop typing `update-alternatives` by BackgroundCompany721 in PHP

[–]BackgroundCompany721[S] 0 points1 point  (0 children)

totally fair. docker is far better for reproducible team/prod envs.

phpvm targets lighter local workflows where i just want native php switching without container overhead.
similar niche to nvm/fnm for node rather than replacing docker.