diff --git a/composer.json b/composer.json
index 8c9b0ba70739dd94d944d2f7edb1c87522f520df..579964146469b9ddc113b97213b7b7551e07d212 100644
--- a/composer.json
+++ b/composer.json
@@ -73,7 +73,8 @@
         "twig/twig": "1.27"
     },
     "scripts": {
-        "post-install-cmd": "phing installsolr installswaggerui",
-        "post-update-cmd": "phing installsolr installswaggerui"
+        "phing-install-dependencies": "phing installsolr installswaggerui",
+        "post-install-cmd": "@phing-install-dependencies",
+        "post-update-cmd": "@phing-install-dependencies"
     }
 }