Skip to content

Latest commit

 

History

History
 
 

README.md

Box Manifest

Box Manifest logo Building and managing Manifest to PHP Archives

Get Started{ .md-button .md-button--primary } Learn more{ .md-button } Watch :material-movie-play:{ .md-button }

Features at a glance

Feature Legacy Command Pipeline Command
Creates a manifest of your software components and dependencies manifest:build :material-check: make build 1 :material-check:
Generates a stub for your manifest application manifest:stub :material-check: make stub :material-check:
Generates a final BOX configuration file :material-close: make configure :material-check:
Compiles an application into a PHAR :material-close: make compile 2 :material-check:
Adds custom action easily :material-close: make MyCustomStage 3 :material-check:

Everything you would expect but not have yet with PHARs

Play terminal sessions

Play following movies (1), and see how it's so easy to include some manifests in your PHAR distribution.

  1. Created by asciinema and play online with asciinema-player with help of this Mkdocs plugin

Installation

{
    "file": "./assets/asciinema/installation.cast"
}

Make your first manifests and stub

{
    "file": "./assets/asciinema/make.cast"
}

Footnotes

  1. You can create multiple manifest on same pipeline command, while legacy command allowed only once at a time.

  2. Easy launcher of BOX project binary command (vendor/bin/box)

  3. MyCustomStage is a custom class that should implement the Bartlett\BoxManifest\Pipeline\StageInterface contract and must be loadable, either by your autoloader or with bootstrap helper feature (see --bootstrap|-b option).