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
Print required extensions from your composer project.
vendor/composer/installed.json
vendor/composer/installed.php
ext-*
The text was updated successfully, but these errors were encountered:
As we already do this with bash and jq for composer.json maybe i can start implementing this if its more clear what the goal of this should be:
jq
cat composer.json | jq -r '[.require | keys[] | select(startswith("ext-")) | split("ext-") | join("")] | join(" ")' curl iconv imap json mbstring pcntl pcre pdo redis
or based on installed.json:
cat vendor/composer/installed.json | jq -r '[.packages[] | select(.require) | .require | keys[] | select(startswith("ext-")) | split("ext-") | join("")] | unique | join(" ")' ctype curl dom filter iconv intl json libxml mbstring phar posix redis simplexml tokenizer xml xmlwriter
composer.lock in the same project! returns another set of extensions:
cat composer.lock | jq -r '[.packages[] | select(.require) | .require | keys[] | select(startswith("ext-")) | split("ext-") | join("")] | unique | join(" ")' ctype curl dom filter iconv intl json mbstring posix redis tokenizer
Sorry, something went wrong.
No branches or pull requests
What is extension dumper
Print required extensions from your composer project.
vendor/composer/installed.json
orvendor/composer/installed.php
file.ext-*
word).The text was updated successfully, but these errors were encountered: