Created
June 28, 2023 09:54
-
-
Save davepullig/21e03dba4db37c74bfcc9d9a085d409b to your computer and use it in GitHub Desktop.
Create a snippet to add to composer.json for existing WordPress plugins; useful when importing sites - you'll need wpackagist setup. Any plugins not in the w.org repo will fail, if you don't exclude them as per gf. You'll need to remove the trailing comma from the last line.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp plugin list --field=name | grep -wv "gravityforms\|sdwd-lms" | xargs -i echo "\"wpackagist-plugin/{}\" : \"@stable\"," |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment