diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e2f46b5fde9dbee75a85e088a06f7af7645fd2d3..ff8af723d6b599d5cc80a42817709ae8518fdfdf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,3 +4,15 @@ include:
     file:
         - /php/multiversions.yml
         - /php/packagist.yml
+
+packagist:
+  script: >
+      set -x ;
+      curl
+        --request POST
+        --header 'Accept: *'
+        --header 'Content-type: application/json'
+        --user-agent 'irstea-ci-config/6.x (contact: dsi.poleis@irstea.fr)'
+        --fail
+        "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_TOKEN}"
+        --data '{"repository":{"url":"'${CI_REPOSITORY_URL}'"}}'