Repository navigation
Release 0.1.37
What's Changed
Bug Fixes
- Fixed PHAR build - Commands and orbit-core now properly included
- Added
build-phar.shscript that generates CommandRegistry at build time - Updated AppServiceProvider to use CommandRegistry for PHAR builds
- Updated box.json to explicitly include app/Commands directory
Technical Details
The PHAR was missing commands because:
- Command auto-discovery doesn't work in PHAR environment
- orbit-core was symlinked via composer-link (symlinks not followed by Box)
Solution: Generate CommandRegistry at build time, unlink orbit-core before building, and build with --no-dev to keep size under 100MB (61MB vs 117MB with dev deps).
Installation
# Download and install
curl -L https://github.com/hardimpactdev/orbit-cli/releases/download/0.1.37/orbit.phar -o ~/.local/bin/orbit
chmod +x ~/.local/bin/orbit
# Or self-update if already installed
orbit self-update