PHPackages                             waltertamboer/pharcompiler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. waltertamboer/pharcompiler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

waltertamboer/pharcompiler
==========================

A PHAR compiler for PHP.

313PHP

Since Dec 11Pushed 12y ago1 watchersCompare

[ Source](https://github.com/waltertamboer/pharcompiler)[ Packagist](https://packagist.org/packages/waltertamboer/pharcompiler)[ RSS](/packages/waltertamboer-pharcompiler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PharCompiler
============

[](#pharcompiler)

[![Build Status](https://camo.githubusercontent.com/1c0764d234fb42bc5cbc503ec70aad12bdc66a46c2c06129fee6df882d9bbf00/68747470733a2f2f7472617669732d63692e6f72672f57616c74657254616d626f65722f70686172636f6d70696c65722e706e67)](https://travis-ci.org/WalterTamboer/pharcompiler)

PharCompiler is a compiler to easily create PHAR files. The concept is that you create a new instance of the compiler to which you give the name of the PHAR file. Next you add the files that should be packed into the archive and last you call `compile`.

Compiling
---------

[](#compiling)

Compiling a .phar file is easy.

```
