2017 © Pedro PelĂĄez
 

library phar-creator

image

budry/phar-creator

  • Saturday, January 4, 2014
  • by Budry
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PharCreator

Task creating compress php files into once .phar file, (*1)

Extension for Tasker, (*2)

Installation

The best way to install budry/phar-creator is using Composer:, (*3)

$ composer require budry/phar-creator:@dev

Before register task you must add path to directory with config file and next register task, (*4)

$takser = new Tasker();
$takser->addConfig($rootPath . '/tasker.json')
    ->registerTask(new PharCreatorTask($rootPath), 'phar', 'phar');
$takser->run();

Into tasker config file add config section, (*5)

{
    "phar": {
        "./testProject.phar": {
            "minify" false,
            "source": "./TestProject",
            "main": "bootstrap.php"
        }
    }
}

Section minify is not required if you skip this section files won't minificate, (*6)

The Versions

04/01 2014

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

task