v2.0.1 for current release.This branch is for active development, see branch
Create single file executables for your PHP applications.
Checkout the releases for the GUI.
# Console Version only. npm install -g phc-win
git clone https://github.com/jaredallard/phc-win node ./bin/phc-win
- Node.js 4+
- Visual Studio 2015 (PHP 7)
- Visual Studio 2012 (PHP 5)
- Internet, when downloading pre-builts.
- build-essentials (Debian) when building PHP from source.
First clone the repository:
git clone https://github.com/jaredallard/phc-win
If from source, make sure a compiler is installed: (Windows just needs VS)
# Debian / Ubuntu sudo apt install build-essentials # Arch Linux sudo pacman -Syu
Modify the config:
Start the build:
# GUI gulp build-gui # Console gulp build-console # GUI & Console gulp build-all