A Phar's stub is a simple PHP file. The smallest possible stub follows:
<?php
Phar::mapPhar();
include 'phar://myphar.phar/index.php';
__HALT_COMPILER();
There are no restrictions on the contents of a Phar stub, except for the requirement
that it conclude with __HALT_COMPILER();. The closing PHP tag
may be included or omitted, but there can be
no more than 1 space between the ; and the close tag
or the phar extension will be unable
to process the Phar archive's manifest.