Skip to content

Commit

Permalink
Merge pull request #121 from Xerkus/feature/clean-config-cache-on-ins…
Browse files Browse the repository at this point in the history
…tall

Add composer post install/update hooks to clear config cache
  • Loading branch information
Xerkus committed Jan 8, 2024
2 parents 5eb7c5a + 4245cef commit d3b2319
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
"post-create-project-cmd": [
"@development-enable"
],
"post-install-cmd": "@clear-config-cache",
"post-update-cmd": "@clear-config-cache",
"development-disable": "laminas-development-mode disable",
"development-enable": "laminas-development-mode enable",
"development-status": "laminas-development-mode status",
Expand All @@ -116,5 +118,8 @@
],
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"scripts-descriptions": {
"clear-config-cache": "Clears merged config cache. Required for config changes to be applied."
}
}

0 comments on commit d3b2319

Please sign in to comment.