keradus / PharBuilder

Build entire application or just views files into single phar file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PharBuilder

This library is obsolete! Use Box instead!

Build entire application or just views files into single phar file.

Usage

Code usage

<?php

$phar = new PharBuilder\LibBuilder("PharBuilder", "PharBuilder", "build");
$phar->addDirFiles("source/PharBuilder");
$phar->build();

See example dir for more examples.

Command line

The update command tries to update phar itself:

php PharBuilder.phar update

About

Build entire application or just views files into single phar file.

License:MIT License


Languages

Language:PHP 100.0%