mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-21 20:36:36 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c9bb4346f |
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"calliostro/spotify-bundle": {
|
||||||
|
"manifest": {
|
||||||
|
"bundles": {
|
||||||
|
"Calliostro\\SpotifyBundle\\CalliostroSpotifyBundle": [
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"SPOTIFY_CLIENT_ID": "",
|
||||||
|
"SPOTIFY_CLIENT_SECRET": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"config/packages/calliostro_spotify.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"calliostro_spotify:",
|
||||||
|
" # Required for Client Credentials Flow (get from https://developer.spotify.com/dashboard)",
|
||||||
|
" client_id: '%env(SPOTIFY_CLIENT_ID)%'",
|
||||||
|
" client_secret: '%env(SPOTIFY_CLIENT_SECRET)%'",
|
||||||
|
"",
|
||||||
|
" # Optional: HTTP User-Agent header for API requests",
|
||||||
|
" # user_agent: 'MyApp/1.0 (+https://myapp.com)'",
|
||||||
|
"",
|
||||||
|
" # Optional: Retry resilience and token management settings (defaults shown)",
|
||||||
|
" # auto_retry: true # Automatically wait and retry on 429 rate limits (default: true)",
|
||||||
|
" # max_retries: 3 # Maximum number of retry attempts (default: 3)",
|
||||||
|
" # proactive_refresh: true # Renew tokens proactively before expiration (default: true)",
|
||||||
|
"",
|
||||||
|
" # Optional: Proactive rate limiting (requires symfony/rate-limiter)",
|
||||||
|
" # rate_limiter: spotify_api",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ref": "0b121b26a0353d9a24db117c446e63f37455b385"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+4
-4
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"recipes": {
|
"recipes": {
|
||||||
"sonata-project/user-bundle": [
|
"calliostro/spotify-bundle": [
|
||||||
"5.17"
|
"1.0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"recipe-conflicts": [],
|
"recipe-conflicts": [],
|
||||||
@@ -12,9 +12,9 @@
|
|||||||
"_links": {
|
"_links": {
|
||||||
"repository": "github.com/symfony/recipes-contrib",
|
"repository": "github.com/symfony/recipes-contrib",
|
||||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2056/{package_dotted}.{version}.json",
|
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2063/{package_dotted}.{version}.json",
|
||||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2056/archived/{package_dotted}/{ref}.json",
|
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2063/archived/{package_dotted}/{ref}.json",
|
||||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,58 +0,0 @@
|
|||||||
{
|
|
||||||
"manifests": {
|
|
||||||
"sonata-project/user-bundle": {
|
|
||||||
"manifest": {
|
|
||||||
"bundles": {
|
|
||||||
"Sonata\\UserBundle\\SonataUserBundle": [
|
|
||||||
"all"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"copy-from-recipe": {
|
|
||||||
"config/": "%CONFIG_DIR%/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"files": {
|
|
||||||
"config/packages/sonata_user.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"sonata_user:",
|
|
||||||
" class:",
|
|
||||||
" # Configure your user entity. Extend",
|
|
||||||
" user: App\\Entity\\User",
|
|
||||||
" resetting:",
|
|
||||||
" email:",
|
|
||||||
" # Configure senders email address on password resetting",
|
|
||||||
" address: sonata@localhost",
|
|
||||||
" sender_name: Sonata Admin",
|
|
||||||
"",
|
|
||||||
"# Enable Doctrine to map the provided entities",
|
|
||||||
"doctrine:",
|
|
||||||
" orm:",
|
|
||||||
" entity_managers:",
|
|
||||||
" default:",
|
|
||||||
" mappings:",
|
|
||||||
" SonataUserBundle: null",
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/sonata_user.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"sonata_user_admin_security:",
|
|
||||||
" resource: '@SonataUserBundle/Resources/config/routing/admin_security.php'",
|
|
||||||
" type: php",
|
|
||||||
" prefix: /admin",
|
|
||||||
"",
|
|
||||||
"sonata_user_admin_resetting:",
|
|
||||||
" resource: '@SonataUserBundle/Resources/config/routing/admin_resetting.php'",
|
|
||||||
" type: php",
|
|
||||||
" prefix: /admin",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ref": "b43b522a1104d6b9fe106b25de70ead2dfebbd85"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user