Skip to content

πŸŽ‰ v0.1.2

Choose a tag to compare

@pphatdev pphatdev released this 25 Feb 14:01
· 10 commits to master since this release

πŸŽ‰ 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 .msi file 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)

  1. Download Phat.msi from the assets below
  2. Run the installer
  3. 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.