Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

jaredallard/phc-win

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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