Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
kherge edited this page Aug 24, 2012 · 16 revisions

Box

Box is a library and command line application for simplifying the PHAR creation process.

Features

  • Create new PHARs with a simple configuration file.
    • Supports whole PHAR compression and signing using a private key.
  • Create private keys and extract public keys.
  • Add and replace files in existing PHARs.
  • Extract existing PHARs, with option to cherry pick files.
  • Display PHAR extension and file information.
  • Verify PHAR signatures.

Example

$ php box.phar build
BUILD Building PHAR...
BUILD Done!
$ php example.phar
Hello, world!

Once you have read the available commands and configuration settings, you may want to check out the example PHAR project.

Support

Please search the issue tracker before opening a new issue.

Clone this wiki locally