Skip to content

Commit 979dcd6

Browse files
committed
Add recipe for treblle/treblle-symfony
Registers TreblleBundle, copies a minimal treblle.yaml config pointing at TREBLLE_SDK_TOKEN and TREBLLE_API_KEY env vars, and injects those two variables into .env on install.
1 parent cfad76d commit 979dcd6

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
treblle:
2+
sdk_token: '%env(TREBLLE_SDK_TOKEN)%'
3+
api_key: '%env(TREBLLE_API_KEY)%'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"bundles": {
3+
"Treblle\\Symfony\\TreblleBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"env": {
9+
"TREBLLE_SDK_TOKEN": "",
10+
"TREBLLE_API_KEY": ""
11+
}
12+
}

0 commit comments

Comments
 (0)