PHPVersion

Get PHPVersion Today

Access the latest stable releases for all supported platforms. Switch PHP versions instantly without environment setup.

🔼
Download PHPVersion

macOS/Linux

Homebrew | APT | NPM

Windows

CMD | PS | Chocolatey

Docker

Image & Container Support

Version 2.3.1 • Released 2025-09-02

macOS/Linux

$ brew install phpversion
$ phpversion --install
✅ PHPVersion installed to ~/.phpversion

Requires Homebrew or Linux package manager. Works on Apple Silicon and Intel Macs.

Windows

PowerShell
PS C:\> install-phpversion.ps1
[✓] PHPVersion installed to C:\tools\phpversion

Works with Windows 10/11. Add PHPVersion to your system environment PATH.

Docker

docker pull phpversion/tool
docker run -it phpversion/tool:latest

Ready-to-use Docker image with full version management capabilities.

Release Highlights

Performance Boost

35% faster version switching with optimized memory management.

Windows Support

Native Windows implementation for full feature parity with Linux/macOS.

Docker Integration

Run PHPVersion in containers for CI/CD and testing automation.

Installation Guide

$ brew tap phpversion/tap
$ brew install phpversion
$ phpversion --init

Add the PHPVersion tap to your Homebrew installation and execute the installation command. The init command creates a new shell profile for automatic integration.

Ready to upgrade your workflow?

Install PHPVersion and start testing across versions instantly. No configuration needed!