We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
composer install fails if one of the dependencies requires ext-imagick, e.g.
composer install
ext-imagick
... requires ext-imagick * -> it is missing from your system. Install or enable PHP's imagick extension.
Even though php82Extensions.imagick is installed.
php82Extensions.imagick
I've seen #356 from 2022, but it is marked as fixed.
$ devbox run "php -r 'var_dump(extension_loaded(\"imagick\"));'" bool(true) $ devbox run "composer exec -- php -r 'var_dump(extension_loaded(\"imagick\"));'" bool(false)
The above requires a minimal composer.json file:
composer.json
{ "name": "test/test", "version": "0.0.0" }
run
{ "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json", "packages": [ "[email protected]", "php82Packages.composer@2", "php82Extensions.imagick@latest" ] }
0.13.6
No response
macOS (Apple Silicon)
The text was updated successfully, but these errors were encountered:
Is it a bug in Devbox? Or am I missing some config?
Sorry, something went wrong.
Found this comment: #2213 (comment)
Our Php plugin already installs composer alongside PHP, so you do not need to install your own copy.
I tried to remove php82Packages.composer and my issue got resolved 🎉
php82Packages.composer
Though, there are still some open question.
1/ Currently Composer v2 is the standard. But for the future, how to control Composer's version?
2/ Should Composer package be removed on the docs page? https://www.jetify.com/docs/devbox/devbox_examples/languages/php/
No branches or pull requests
What happened?
composer install
fails if one of the dependencies requiresext-imagick
, e.g.Even though
php82Extensions.imagick
is installed.I've seen #356 from 2022, but it is marked as fixed.
Steps to reproduce
The above requires a minimal
composer.json
file:Command
run
devbox.json
Devbox version
0.13.6
Nix version
No response
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
No response
The text was updated successfully, but these errors were encountered: