kherge/box
Box is a PHP tool for building PHAR archives, letting you package PHP applications and libraries into a single executable file. It provides configuration-driven builds, file compaction, and reproducible output for easy distribution.
kherge/box is a standalone PHP CLI application for building PHAR archives, not a Laravel package or runtime library. It fits as a build-time tool in CI for packaging CLI entrypoints, Artisan commands, queue workers, scheduled jobs, or internal tools. It does not fit a standard Laravel web application because Laravel expects writable storage, public assets, environment files, and framework path conventions that PHAR packaging complicates.humbug/box or use conventional Composer/container artifacts.phar.readonly, OpenSSL, Composer autoload generation, Laravel path helpers, config/env loading, storage writes, and native extension assumptions. Do not assume PHP 8 compatibility without a proof of concept.box.json; fourth build and sign in CI; fifth run smoke tests in a staging-like runtime; sixth document rollback and artifact provenance; finally decide whether to standardize, replace with HumBug Box, or stop.phar.readonly misconfiguration in CI. These failures often appear late in deployment.kherge/box only as a pinned, isolated, build-time pilot for legacy PHP CLI artifacts. Do not adopt it as a strategic Laravel packaging solution; prefer the maintained HumBug Box fork or conventional container/Composer deployment for new work.How can I help you explore Laravel packages today?