Skip to content

Instantly share code, notes, and snippets.

@tomaj
Last active April 11, 2016 17:01
Show Gist options
  • Save tomaj/bf5e5b214405a0507b02b1408d05c9c7 to your computer and use it in GitHub Desktop.
Save tomaj/bf5e5b214405a0507b02b1408d05c9c7 to your computer and use it in GitHub Desktop.
Find all php extensions used in composer project(s)
# Be carefull - find also optional extensions
find . -name "composer.json" -exec grep -H '"ext-' {} \; | awk -F '"' '{print $2}' | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment