Your IP : 216.73.216.224


Current Path : /var/www/html/components/com_community/libraries/composer/
Upload File :
Current File : /var/www/html/components/com_community/libraries/composer/cli-create-phar.php

<?php 
$pharFile = 'autoload.phar';

// clean up
if (file_exists($pharFile)) {
    unlink($pharFile);
}

$p = new Phar($pharFile);

$p->buildFromDirectory('vendor/');

// pointing main file which requires all classes  
$p->setDefaultStub('autoload.php', '/autoload.php');

echo "$pharFile successfully created";