Skip to content

Instantly share code, notes, and snippets.

@nextendweb-laszlo
Last active Sep 23, 2021
Embed
What would you like to do?
A composer.json example with 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/*"
]
},
{
"type": "composer",
"url": "https://api.nextendweb.com/v1/composer/",
"only": [
"nextendweb/*"
]
}
],
"require": {
"aws/aws-sdk-php":"*",
"wpackagist-plugin/akismet":"dev-trunk",
"wpackagist-plugin/wordpress-seo":">=7.0.2",
"wpackagist-theme/hueman":"*",
"nextendweb/nextend-social-login-pro": "dev-master"
},
"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