Skip to content

Commit 80b7990

Browse files
authored
Add suggest to composer.json for optional dependencies (#145)
1 parent ebe4536 commit 80b7990

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858
"symfony/serializer": "^5.4 || ^6.4 || ^7.4 || ^8.0",
5959
"symfony/yaml": "^5.4 || ^6.4 || ^7.4 || ^8.0"
6060
},
61+
"suggest": {
62+
"symfony/expression-language": "To use expressions in the #[PurgeOn] attribute, e.g. for the \"if\" condition or route parameters",
63+
"symfony/http-client": "To use the Varnish purger",
64+
"symfony/messenger": "To purge URLs asynchronously",
65+
"symfony/serializer": "To resolve purge targets from serialization groups with `ForGroups`",
66+
"symfony/yaml": "To configure purge subscriptions using YAML files"
67+
},
6168
"conflict": {
6269
"symfony/cache": "<5.4",
6370
"symfony/expression-language": "<5.4",

0 commit comments

Comments
 (0)