2017 © Pedro Peláez
 

library phar-compiler

Generic PHP PHAR compiler

image

secondtruth/phar-compiler

Generic PHP PHAR compiler

  • Tuesday, October 31, 2017
  • by secondtruth
  • Repository
  • 1 Watchers
  • 19 Stars
  • 704 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 20 % Grown

The README.md

PHP PHAR Compiler

Latest Stable Build Status Scrutinizer Coverage License, (*1)

This library provides a generic PHP PHAR compiler., (*2)

How to use?

$compiler = new Compiler(PROJECT_PATH);

$compiler->addIndexFile('bin/mycoolprogram.php');
$compiler->addDirectory('libraries');

$compiler->addFile('vendor/autoload.php');
$compiler->addDirectory('vendor/composer', '!*.php'); // Exclude non-PHP files
$compiler->addDirectory('vendor/.../Component/Console', ['Tests/*', '!*.php']);

$compiler->compile("$outputDir/mycoolprogram.phar");

Installation

Install via Composer

Install Composer if you don't already have it present on your system., (*3)

To install the library, run the following command and you will get the latest version:, (*4)

$ composer require secondtruth/phar-compiler

Requirements

  • You must have at least PHP version 5.6 installed on your system.

The Versions

31/10 2017

dev-master

9999999-dev http://www.secondtruth.de

Generic PHP PHAR compiler

  Sources   Download

ISC

The Requires

  • php >=5.6

 

The Development Requires

phar compiler

27/07 2015

1.1.x-dev

1.1.9999999.9999999-dev http://www.secondtruth.de

Generic PHP PHAR compiler

  Sources   Download

ISC

The Requires

  • php >=5.4

 

The Development Requires

phar compiler

27/07 2015

v1.1.0

1.1.0.0 http://www.secondtruth.de

Generic PHP PHAR compiler

  Sources   Download

ISC

The Requires

  • php >=5.4

 

The Development Requires

phar compiler

27/07 2015

1.0.x-dev

1.0.9999999.9999999-dev http://www.secondtruth.de

Generic PHP PHAR compiler

  Sources   Download

ISC

The Requires

  • php >=5.4

 

The Development Requires

phar compiler

27/07 2015

v1.0.0

1.0.0.0 http://www.secondtruth.de

Generic PHP PHAR compiler

  Sources   Download

ISC

The Requires

  • php >=5.4

 

The Development Requires

phar compiler