MegaBedder / phc-win

Create single executables out of your PHP applications.

Home Page:https://jaredallard.me/phc-win

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Create single executables out of your PHP applications.

https://jaredallard.me/phc-win


Languages

Language:JavaScript 100.0%