1 2 3 4
PHP_Archive allows you to create a single .phar file containing an entire application. WWW: https://pear.php.net/package/PHP_Archive