-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install command implementation #21
Conversation
… not hardcoded version
I'm a end user, just tested on a MacBook Pro M3 @ Sonoma 14.5 (23F79). Everything worked flawlessly. Entire process ran for 7 seconds.
I'd like to thank everyone involved in this project. Pear installation is broken as of PHP 8.3.9 because of some error related to libxml2, I think it'll be fixed in 8.3.10. Can't wait to finally sunset pear/pecl. Edit: xdebug also works
Edit 2: Also working on my Arch Linux laptop :) |
Thanks for the feedback and kind words @davisenra ! |
Fixes #4 - finally adds
bin/pie install <package>
command.I'll leave this PR open at least a couple of weeks, as I know some folks will be on vacation or unable to quickly gather feedback. Since this now completes the very basic functionality of PIE (i.e. downloading and installing a PHP extension), any/all feedback is welcome at this point!
If there are showstoppers or things severely broken/not working, then I'll investigate, or I may defer certain feedback to tickets to be addressed separately.
update: I'll merge this on or after 12th August if there is no showstoppers
Are you an end user who would like to try this out?
Please note that this is just an initial implementation, and you should definitely not run this anywhere near a production system just yet.
If you understand, and you'd still like to help test this...
Primarily the best way to provide feedback here as an end user of PIE is to check the
install
command works on your machine! You can do that by following these steps (please adjust for your platform differences of course!)asgrim/example-pie-extension
is intentionally only compatible with PHP 8.3)git clone -b install-command-implementation https://github.com/asgrim/pie.git
composer install
bin/pie install asgrim/example-pie-extension
You should see something like:
Or on Windows:
Want to try xdebug?
If you're on a non-Windows system, you could try xdbug 3.4.0alpha1, for example:
Are you an extension maintainer who would like to try this out?
It's not strictly necessary to support this just yet, but if you're keen, and please note, things may change before we finally release PIE... so you do this at your own risk. Note: at the moment, you will need to make a new release - see ThePHPF/pie-design#17
composer.json
to your repo - example here https://github.com/asgrim/example-pie-extension/blob/main/composer.jsonalpha
release is fine, e.g.1.2.3-alpha.
) - note, "branches" or "commits" are not yet supported - see Add support fordev-main
anddev-main#sha
type version requests #13composer.json
automatically and understand that it is aphp-ext
orphp-ext-zend
, it should appear in https://packagist.org/extensions once addedMore details, for example for help on
composer.json
, can be read in https://github.com/ThePHPF/pie-design?tab=readme-ov-file#extension-maintainer-register-a-pie-package