Skip to content

Commit 6e7bc4c

Browse files
authored
add config section to composer.json
The option "preferred-install" in composer.json is required to make it possible for this module to be installed in the SimpleSAMLphp modules directory in the vendor directory. Without this option the module will be always installed in the modules folder in the directory where composer.json is.
1 parent bf2005d commit 6e7bc4c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

composer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,14 @@
3131
"support": {
3232
"issues": "https://github.com/tenet-ac-za/simplesamlphp-module-sqlattribs/issues",
3333
"source": "https://github.com/tenet-ac-za/simplesamlphp-module-sqlattribs"
34+
},
35+
"config": {
36+
"preferred-install": {
37+
"*": "dist"
38+
},
39+
"sort-packages": true,
40+
"allow-plugins": {
41+
"simplesamlphp/composer-module-installer": true
42+
}
3443
}
3544
}

0 commit comments

Comments
 (0)