Registry / build-tool / herrera-io-box

herrera-io-box

JSON →
library1.6.1phppackagistunverified

A library for simplifying the PHAR build process, providing tools to package PHP applications as PHAR archives.

composer require herrera-io/box
INSTALL
IMPORT
SIG · HERRERA-IO-BOX
H
herrera-io-box
build-toolphpv1.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Box
use Herrera\Box\Box;

Create a PHAR archive and add a file.

use Herrera\Box\Box; $box = Box::create('path/to/phar.phar'); $box->addFile('index.php'); $box->compress(Phar::GZ); $box->sign();
Debug
Known issues
breakingBox v1.x is outdated; consider using the newer box-project/box for PHAR building.
fix
Upgrade to box-project/box (v3+) for modern features and security.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.6.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
OpenAI (training)
1
Resources
herrera-io-box — pip install herrera-io-box · libregistry