Add auto-managed magerun2 wrapper#101
Merged
peterjaap merged 1 commit intoMay 12, 2026
Merged
Conversation
Installs ~/.magebox/bin/magerun2 during bootstrap — no manual version management required. Detects Magento version from composer.lock, maps to the correct n98-magerun2 version (7.5.0 for Magento < 2.4.5, latest GitHub release for 2.4.5+), and downloads the phar once. Subsequent invocations are fully offline. SHA256 checksum verification included. Integrates with `magebox check` to show wrapper and phar status.
Contributor
|
Does it ruin as |
Contributor
Author
|
@jakwinkler it runs with I tested it it works great on my end :) Looking forward to have this in the next release. |
Contributor
|
It is fine, but I don't work with a lot of projects lately so I leave it to you and @peterjaap to merge this ;-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #85
Summary
~/.magebox/bin/magerun2wrapper during bootstrap — no manual version management requiredcomposer.lockand maps to the correct n98-magerun2 version: 7.5.0 for Magento < 2.4.5, latest GitHub release for 2.4.5+magebox checkto show wrapper and phar statusphp-wrapper.md,bootstrap.md,commands.mdHow it works
Version selection
Tested
Confirmed working for: