Add Discogs Bundle recipe v4.0 (#1855)

* Add Discogs Bundle recipe v4.0

- Add recipe for calliostro/discogs-bundle v4.0
- Supports Personal Access Token and OAuth authentication
- Includes configuration options with detailed comments
- Symfony bundle for Discogs API integration

* Fix YAML indentation to use 4 spaces
This commit is contained in:
Joey
2025-09-13 08:11:32 +02:00
committed by GitHub
parent 9d184c8ca5
commit d8e3417c38
2 changed files with 30 additions and 0 deletions
@@ -0,0 +1,17 @@
calliostro_discogs:
# Recommended: Personal Access Token (get from https://www.discogs.com/settings/developers)
# personal_access_token: '%env(DISCOGS_PERSONAL_ACCESS_TOKEN)%'
# Alternative: Consumer credentials for OAuth applications
# Get from https://www.discogs.com/applications
# consumer_key: '%env(DISCOGS_CONSUMER_KEY)%'
# consumer_secret: '%env(DISCOGS_CONSUMER_SECRET)%'
# Optional: HTTP User-Agent header for API requests
# Default: 'DiscogsClient/4.0.0 (+https://github.com/calliostro/php-discogs-api)'
# user_agent: 'MyApp/1.0 +https://myapp.com'
# Optional: Rate limiting configuration (default values shown)
# throttle:
# enabled: true
# microseconds: 1000000 # 1 second delay between requests
@@ -0,0 +1,13 @@
{
"bundles": {
"Calliostro\\DiscogsBundle\\CalliostroDiscogsBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#DISCOGS_PERSONAL_ACCESS_TOKEN": "",
"#DISCOGS_CONSUMER_KEY": "",
"#DISCOGS_CONSUMER_SECRET": ""
}
}