Skip to content

ci(release): replace box with bin/build-phar.php#15

Merged
walmir-silva merged 1 commit intomainfrom
develop
Mar 2, 2026
Merged

ci(release): replace box with bin/build-phar.php#15
walmir-silva merged 1 commit intomainfrom
develop

Conversation

@walmir-silva
Copy link
Contributor

Box (humbug/box) was the previous PHAR compiler. Removed it in favor of the internal bin/build-phar.php which:

  • Needs no external tool installation (saving ~5s + wget overhead)
  • Needs no composer install (autoloader is generated inline)
  • Produces a PHAR in <0.1s instead of 50s+
  • Outputs 0.03 MB instead of ~30 MB

Previous flow:
wget box.phar → composer install → box compile --config=box.json

New flow:
php -d phar.readonly=0 bin/build-phar.php

Box (humbug/box) was the previous PHAR compiler. Removed it in favor
of the internal bin/build-phar.php which:
  - Needs no external tool installation (saving ~5s + wget overhead)
  - Needs no composer install (autoloader is generated inline)
  - Produces a PHAR in <0.1s instead of 50s+
  - Outputs 0.03 MB instead of ~30 MB

Previous flow:
  wget box.phar → composer install → box compile --config=box.json

New flow:
  php -d phar.readonly=0 bin/build-phar.php
@walmir-silva walmir-silva merged commit 7b66892 into main Mar 2, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant