Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get lists of software etc used on a Drupal 8.x site (modules, themes, 3rd party libraries, drupal libraries)
// Get lists of software etc used on a Drupal 8.x site
// Get drupal projects
drush pml --status="enabled"
// Get non core Drupal projects installed
drush pml --status="enabled" --no-core --format="table"
// Get php party libraries
composer show -i
// Get php libraries in html format
// Also, see: https://github.com/t4web/ComposerLockParser
// and https://github.com/danielgp/composer-packages-listing
composer show -i | awk '{print "<tr><td>"$1"</td><td>"$2"</td><td>"$3"</td></tr>\n"}'
// Get Drupal permissions for role "USER_ROLE"
drush rls USER_ROLE
// Get Drupal libraries used
drupal debug:libraries [arguments]
// Get js packages installed from package.json
// Using: https://github.com/zeke/package-json-to-readme
readme package.json > README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.