Skip to content

Commit 2be744c

Browse files
committed
Add MercureBundle recipe
1 parent 0516ca4 commit 2be744c

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
parameters:
2+
env(MERCURE_PUBLISH_URL): ''
3+
env(MERCURE_JWT): ''
4+
5+
mercure:
6+
hubs:
7+
default:
8+
url: '%env(MERCURE_PUBLISH_URL)%'
9+
jwt: '%env(MERCURE_JWT)%'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"bundles": {
3+
"Symfony\\Bundle\\MercureBundle\\MercureBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"env": {
9+
"MERCURE_PUBLISH_URL": "https://demo.mercure.rocks/hub",
10+
"MERCURE_JWT": "your.JWT.token"
11+
},
12+
"aliases": ["mercure"]
13+
}

0 commit comments

Comments
 (0)