Skip to content

feat: migrate from MacFJA/PharBuilder to Box - #125

Merged
deviantintegral merged 3 commits into
mainfrom
claude/evaluate-phar-building-R9FWb
Dec 15, 2025
Merged

deviantintegral merged 3 commits into
mainfrom
claude/evaluate-phar-building-R9FWb

Conversation

@deviantintegral

@deviantintegral deviantintegral commented Dec 15, 2025 •

Copy link
Copy Markdown
Owner

Replace the unmaintained MacFJA/PharBuilder with Box (humbug/box).

Changes:

  • Add humbug/box ^4.6 as dev dependency
  • Create box.json configuration with equivalent settings
  • Simplify build-phar script to use Box
  • Remove obsolete phar-builder configuration
  • Add automated PHAR building to release workflow
  • Update .gitignore for Box artifacts

The new workflow automatically builds and uploads har.phar to GitHub releases when a new version is published.

claude and others added 3 commits December 15, 2025 02:08
Replace the unmaintained MacFJA/PharBuilder (last updated 2022) with
Box (humbug/box), the modern standard for PHAR building.

Changes:
- Add humbug/box ^4.6 as dev dependency
- Create box.json configuration with equivalent settings
- Simplify build-phar script to use Box
- Remove obsolete phar-builder configuration
- Add automated PHAR building to release workflow
- Update .gitignore for Box artifacts

Box provides:
- Active maintenance (latest: 4.6.10)
- PHP 8.2+ support
- Zero-config building with sensible defaults
- Built-in compression, signing, and requirements checking
- CI/CD integration for automated releases

The new workflow automatically builds and uploads har.phar to GitHub
releases when a new version is published.
@deviantintegral
deviantintegral marked this pull request as ready for review December 15, 2025 13:43
@deviantintegral deviantintegral changed the title feat: migrate from MacFJA/PharBuilder to Box for PHAR building feat: migrate from MacFJA/PharBuilder to Box Dec 15, 2025
@deviantintegral
deviantintegral enabled auto-merge (squash) December 15, 2025 13:44
@deviantintegral
deviantintegral merged commit b1187c2 into main Dec 15, 2025
9 checks passed
deviantintegral added a commit that referenced this pull request Dec 15, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.5.0](v0.4.0...v0.5.0)
(2025-12-15)


### Features

* migrate from MacFJA/PharBuilder to Box
([#125](#125))
([b1187c2](b1187c2))


### Bug Fixes

* add directory validation in getIds() before scandir()
([22057e0](22057e0))
* add error handling for missing files in SplitCommand
([#122](#122))
([ed3fa82](ed3fa82))
* add type hints to SplitCommand::getSplitDestination parameters
([#123](#123))
([c62a75a](c62a75a))
* check if a HAR repository exists before loading
([93fbb57](93fbb57))
* correct inverted logic in hasBlocked() and hasDns() methods
([2285c23](2285c23))
* use strict comparison (===) instead of weak comparison (==) in
Serializer.php
([453d8f3](453d8f3))


### Miscellaneous Chores

* add missing call to SessionStart
([#119](#119))
([51b50a3](51b50a3))
* auto-install php-pear in SessionStart hook
([#116](#116))
([48acab5](48acab5))
* **deps:** pin ggilder/codecoverage action to 47c83da
([#118](#118))
([85aa78d](85aa78d))
* fix newlines
([f5ded8c](f5ded8c))
* install xdebug for claude sessions
([54f3138](54f3138))
* run composer install in claude
([233d999](233d999))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

2 participants