Call this only after your staging directory is built.
public createPhar ( string $dest, string | boolean | null $stub = null, string $autoloaderFilename = 'autoloader.php' ) | ||
$dest | string | Where to save the file. The basename of the file is also used as the alias name in the phar (e.g., /path/to/guzzle.phar => guzzle.phar). |
$stub | string | boolean | null | The path to the phar stub file. Pass or leave null to automatically have one created for you. Pass false to no use a stub in the generated phar. |
$autoloaderFilename | string | Name of the autolaoder filename. |