diff --git a/composer.json b/composer.json
index 5dd5ee0ed225f811b15e03ccb1397b1c44814d98..86e222439b2bb470c69c8d000ad98023056ce58d 100644
--- a/composer.json
+++ b/composer.json
@@ -28,5 +28,9 @@
         "phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage",
 
 	    "docs": "apigen generate"
+    },
+    "config": {
+        "preferred-install": "dist",
+        "sort-packages": true
     }
 }