00F100 / php2phar

Create phar files from your source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php2phar

Travis Code Climate

Create phar files from your source code

Install

$ wget https://github.com/00F100/php2phar/raw/master/dist/php2phar.phar

or Download Phar file

Usage

php php2phar.phar --dir-source <path/to/dir> --index-file </path/to/index.php> --output-file <path/to/file.phar>  

Options

       -d,  --dir-source     Directory of the source code to be sent to the phar file
       -i,  --index-file     File "index.php" to start new instance of your code
       -o,  --output-file    File ".phar" to save your code
       -u,  --self-update    Upgrade to the latest version
       -v,  --version        Return the installed version of this package
       -h,  --help           Show this help

About

Create phar files from your source code

License:MIT License


Languages

Language:PHP 80.9%Language:Makefile 19.1%