BOX Manifest

April 1, 2026 ยท View on GitHub

StandWithUkraine GitHub Discussions

Main goal of this project is to write a manifest in any PHP Archive (PHAR) built with the BOX tool.

Features

Provides a Symfony Console Application with the binary command box-manifest that :

  • Can generate manifest in Composer tree format (composer-tree-text or composer-tree-json)
  • Can generate manifest in CycloneDX SBOM Standard format (sbom-json or sbom-xml)
  • Can generate manifest in a simple key-value pairs plain text format (key: value)
  • Can generate manifest in a decorated text format console-style or console-table (distinguish direct dependencies requirement and other uses)
  • Can generate manifest in a custom user format
  • Can generate a stub that should be able to display one or all manifests provided by the PHP Archive
  • Can inspect a PHAR to find and display manifests contents

Version Compatibility

VersionStatusBox Project CompatibilityPHP
4.0.x to 4.4.xActive development4.6.x to 4.7.x>= 8.2
3.0.x to 3.5.xEnd Of Life4.0.x to 4.3.x>= 8.1
2.0.x to 2.3.xEnd Of Life4.0.x to 4.2.x>= 8.1
1.0.x to 1.2.0End Of Life3.x>= 7.4

Documentation

All the documentation is available on website, generated from the docs folder.

Contributors

  • Laurent Laville (Lead Developer)