Create single executables out of your PHP applications.
JavaScript
Clone or download

README.md

PHC-WIN

This branch is for active development, see branch v2.0.1 for current release.


Create single file executables for your PHP applications.

Install

Checkout the releases for the GUI.

CONSOLE

Via npm:

# Console Version only.
npm install -g phc-win

Via Git:

git clone https://github.com/jaredallard/phc-win

node ./bin/phc-win

Building

Requirements

Windows:

  • Visual Studio 2015 (PHP 7)
  • Visual Studio 2012 (PHP 5)

Linux:

  • 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: config.js

Start the build:

# GUI
gulp build-gui

# Console
gulp build-console

# GUI & Console
gulp build-all