mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29862dbdbd |
+5
-4
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"aliases": [],
|
||||
"recipes": {
|
||||
"vinceamstoutz/symfony-security-auditor": [
|
||||
"1.0"
|
||||
"jolicode/media-bundle": [
|
||||
"0.1",
|
||||
"0.4"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": [],
|
||||
@@ -12,9 +13,9 @@
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes-contrib",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1990/{package_dotted}.{version}.json",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1998/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1990/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1998/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jolicode/media-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"JoliCode\\MediaBundle\\JoliMediaBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * JoliMediaBundle has been successfully installed! Complete the configuration:",
|
||||
" 1. <fg=blue>Configure</> your media library storage in <comment>%CONFIG_DIR%/packages/joli_media.yaml</>",
|
||||
" 2. <fg=blue>Read</> the documentation options at <comment>https://mediabundle.jolicode.com/getting-started/configuration/</>",
|
||||
"",
|
||||
" * Learn how to install the required processors at <comment>https://mediabundle.jolicode.com/getting-started/dependencies-and-tooling/</>",
|
||||
"",
|
||||
" * To enable an admin bridge, follow the instructions at <comment>https://mediabundle.jolicode.com/bridges/</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/joli_media.yaml": {
|
||||
"contents": [
|
||||
"# See the documentation for all available configuration options",
|
||||
"joli_media:",
|
||||
" # Configure a media library below. See the documentation for all available options",
|
||||
" # at https://mediabundle.jolicode.com/getting-started/configuration/#configuration",
|
||||
"",
|
||||
" # libraries:",
|
||||
" # default:",
|
||||
" # original:",
|
||||
" # flysystem: \"filesystem.original.storage\"",
|
||||
" # url_generator:",
|
||||
" # strategy: folder",
|
||||
" # path: /media/original/",
|
||||
" # cache:",
|
||||
" # flysystem: \"filesystem.cache.storage\"",
|
||||
" # must_store_when_generating_url: false",
|
||||
" # url_generator:",
|
||||
" # strategy: folder",
|
||||
" # path: /media/cache/",
|
||||
"",
|
||||
" pre_processors:",
|
||||
" - JoliCode\\MediaBundle\\PreProcessor\\ExifRemovalPreProcessor",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/joli_media.yaml": {
|
||||
"contents": [
|
||||
"_joli_media:",
|
||||
" resource: \"@JoliMediaBundle/config/routes.php\"",
|
||||
"",
|
||||
"# Uncomment the following lines to enable the EasyAdmin bridge routes",
|
||||
"# _joli_media_easy_admin:",
|
||||
"# resource: \"@JoliMediaEasyAdminBundle/src/Controller/\"",
|
||||
"# prefix: /admin/media",
|
||||
"",
|
||||
"# Uncomment the following lines to enable the Sonata Admin bridge routes",
|
||||
"# _joli_media_sonata_admin:",
|
||||
"# resource: \"@JoliMediaSonataAdminBundle/src/Controller/\"",
|
||||
"# prefix: /admin/media",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "47f0a88bb77418697bd0c3ed213cd1a23604d93f"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jolicode/media-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"JoliCode\\MediaBundle\\JoliMediaBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * JoliMediaBundle has been successfully installed! Complete the configuration:",
|
||||
" 1. <fg=blue>Configure</> your media library storage in <comment>%CONFIG_DIR%/packages/joli_media.yaml</>",
|
||||
" 2. <fg=blue>Read</> the documentation options at <comment>https://mediabundle.jolicode.com/getting-started/configuration/</>",
|
||||
"",
|
||||
" * Learn how to install the required processors at <comment>https://mediabundle.jolicode.com/getting-started/dependencies-and-tooling/</>",
|
||||
"",
|
||||
" * To enable an admin bridge, follow the instructions at <comment>https://mediabundle.jolicode.com/bridges/</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/joli_media.yaml": {
|
||||
"contents": [
|
||||
"# Uncomment the following lines to enable the Sylius bridge configuration",
|
||||
"#imports:",
|
||||
"# - { resource: '@JoliMediaSyliusBundle/config/app.php' }",
|
||||
"",
|
||||
"# See the documentation for all available configuration options",
|
||||
"joli_media:",
|
||||
" # Configure a media library below. See the documentation for all available options",
|
||||
" # at https://mediabundle.jolicode.com/getting-started/configuration/#configuration",
|
||||
"",
|
||||
" #libraries:",
|
||||
" # default:",
|
||||
" # original:",
|
||||
" # flysystem: \"filesystem.original.storage\"",
|
||||
" # url_generator:",
|
||||
" # strategy: folder",
|
||||
" # path: /media/original/",
|
||||
" # cache:",
|
||||
" # flysystem: \"filesystem.cache.storage\"",
|
||||
" # must_store_when_generating_url: false",
|
||||
" # url_generator:",
|
||||
" # strategy: folder",
|
||||
" # path: /media/cache/",
|
||||
"",
|
||||
" pre_processors:",
|
||||
" - JoliCode\\MediaBundle\\PreProcessor\\ExifRemovalPreProcessor",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/joli_media.yaml": {
|
||||
"contents": [
|
||||
"_joli_media:",
|
||||
" resource: \"@JoliMediaBundle/config/routes.php\"",
|
||||
"",
|
||||
"# Uncomment the following lines to enable the EasyAdmin bridge routes",
|
||||
"#_joli_media_easy_admin:",
|
||||
"# resource: \"@JoliMediaEasyAdminBundle/src/Controller/\"",
|
||||
"# prefix: /admin/media",
|
||||
"",
|
||||
"# Uncomment the following lines to enable the Sonata Admin bridge routes",
|
||||
"#_joli_media_sonata_admin:",
|
||||
"# resource: \"@JoliMediaSonataAdminBundle/src/Controller/\"",
|
||||
"# prefix: /admin/media",
|
||||
"",
|
||||
"# Uncomment the following lines to enable the Sylius bridge routes",
|
||||
"#_joli_media_sylius_admin:",
|
||||
"# resource: \"@JoliMediaSyliusBundle/src/Admin/Controller/\"",
|
||||
"# prefix: /admin/media",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "59727d15f2a13729764718c50847899a6b9a35b4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
{
|
||||
"manifests": {
|
||||
"vinceamstoutz/symfony-security-auditor": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"VinceAmstoutz\\SymfonySecurityAuditor\\SymfonySecurityAuditorBundle": [
|
||||
"dev",
|
||||
"test"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/symfony_security_auditor.yaml": {
|
||||
"contents": [
|
||||
"# Full configuration reference (models, scan, audit loop, rate limits, caching):",
|
||||
"# https://github.com/vinceamstoutz/symfony-security-auditor/blob/main/docs/configuration.md",
|
||||
"#",
|
||||
"when@dev: &symfony_security_auditor",
|
||||
" symfony_security_auditor:",
|
||||
" model: 'claude-opus-4-8' # Model for both the Attacker and Reviewer roles. Bundle default: claude-opus-4-7.",
|
||||
" # attacker_model: 'claude-opus-4-8' # Dedicated model for the Attacker role. Falls back to `model` when unset.",
|
||||
" # reviewer_model: 'claude-haiku-4-5-20251001' # Lighter model for the Reviewer role. Falls back to `model` when unset.",
|
||||
"",
|
||||
" # Proactive rate limiting \u2014 adjust the values to your provider plan.",
|
||||
" # Any single dimension enables it: https://github.com/vinceamstoutz/symfony-security-auditor/blob/main/docs/configuration.md#auditrate_limit--proactive-throttling",
|
||||
" # audit:",
|
||||
" # rate_limit: # Example: Anthropic Tier 1 quotas for Claude Opus 4.x (https://platform.claude.com/docs/en/api/rate-limits)",
|
||||
" # requests_per_minute: 50",
|
||||
" # input_tokens_per_minute: 500000 # Cached input tokens don't count toward Anthropic's limit.",
|
||||
" # output_tokens_per_minute: 80000",
|
||||
"",
|
||||
"when@test: *symfony_security_auditor",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "87aec5ddb2d71e0b0571c2197f91ed9b28d51af5"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user