π v0.1.2
π What's New in v1.2.0
This release improves the installer with a single-file MSI package and enhanced security.
π§ Improvements
Embedded CAB File
- β¨ Single-file installer β The MSI now embeds the CAB file internally
- β No more missing file errors during installation
- π¦ Easier distribution β One
.msifile contains everything
Enhanced Security
- π Full trust installation β Installer runs with elevated privileges
- π‘οΈ Per-machine installation scope β Available to all users
- π Publisher verified β Shows "PPhatDEV" as the publisher
- π Ready for code signing (optional)
Enhanced CI/CD Pipeline
- π¨ Fixed WiX Toolset build configuration
- β Improved build error detection and reporting
- π Better debug output for troubleshooting
π¦ Installation
MSI Installer (Recommended)
- Download
Phat.msifrom the assets below - Run the installer
- Open a new terminal and verify:
phat help
Manual Installation
git clone https://github.com/pphatdev/php-version-switcher.git
# Add the folder to your system PATH
phat helpπ Quick Start
# List all installed PHP versions
phat list
# Switch to a specific version
phat switch 8.3.30
# Install a new PHP version
phat install 8.4.0π Requirements
- OS: Windows 10/11
- XAMPP: Installed at
C:\xampp - PowerShell: 5.1 or higher
- Permissions: Administrator rights for switching versions
π Known Issues
- Requires an elevated terminal (Run as Administrator) if permission errors occur during version switching
- Apache vhost warnings (e.g.
Could not resolve host name) are unrelated to PHP switching
π Full Changelog
Full Changelog: v1.1.1...v1.2.0
π Thank You
Thank you for using Phat! If you find it useful, please star β the repo!
For issues or suggestions, please open an issue.