Skip to content

Instantly share code, notes, and snippets.

@nextendweb-laszlo
Created September 23, 2021 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nextendweb-laszlo/6cae98215a6952d817c5f7147f6e0809 to your computer and use it in GitHub Desktop.
Save nextendweb-laszlo/6cae98215a6952d817c5f7147f6e0809 to your computer and use it in GitHub Desktop.
A composer.json example without the Nextend Social Login Pro Addon repository.
{
"name": "acme/brilliant-wordpress-site",
"description": "My brilliant WordPress site",
"repositories":[
{
"type":"composer",
"url":"https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"require": {
"aws/aws-sdk-php":"*",
"wpackagist-plugin/akismet":"dev-trunk",
"wpackagist-plugin/wordpress-seo":">=7.0.2",
"wpackagist-theme/hueman":"*"
},
"autoload": {
"psr-0": {
"Acme": "src/"
}
},
"extra": {
"installer-paths": {
"wp-content/mu-plugins/{$name}/": [
"wpackagist-plugin/akismet"
],
"wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment