mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-16 09:36:26 +03:00
Added receipe for disjfa/mozaic-bundle
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
parameters:
|
||||
env(UNSPLASH_APPLICATION_ID): ''
|
||||
env(UNSPLASH_APPLICATION_SECRET): ''
|
||||
|
||||
# disjfa_mozaic.unsplash.application_id: ''
|
||||
# disjfa_mozaic.unsplash.secret: ''
|
||||
|
||||
disjfa_mozaic:
|
||||
unsplash:
|
||||
application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%'
|
||||
secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%'
|
||||
@@ -0,0 +1,3 @@
|
||||
disjfa_mozaic:
|
||||
resource: '@DisjfaMozaicBundle/Controller/'
|
||||
type: annotation
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Disjfa\\MozaicBundle\\DisjfaMozaicBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "You can request a api key on the developer page of unsplash here: https://unsplash.com/developers",
|
||||
"UNSPLASH_APPLICATION_ID": "",
|
||||
"UNSPLASH_APPLICATION_SECRET": ""
|
||||
}
|
||||
}
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Mozaic bundle configuration </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* Modify your UNSPLASH_APPLICATION_ID and UNSPLASH_APPLICATION_SECRET config in <fg=green>.env</>
|
||||
|
||||
* Don't forget to add the vue component in you <fg=green>javascript</>
|
||||
Reference in New Issue
Block a user