Compare commits

..
Author SHA1 Message Date
github-action[bot]andgithub-action[bot] 29862dbdbd Create Flex endpoint 2026-06-10 09:41:18 +00:00
4 changed files with 160 additions and 89 deletions
+5 -4
View File
@@ -1,8 +1,9 @@
{
"aliases": [],
"recipes": {
"netbull/media-bundle": [
"7.2"
"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-1995/{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-1995/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"
}
}
+73
View File
@@ -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"
}
}
}
+82
View File
@@ -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"
}
}
}
-85
View File
@@ -1,85 +0,0 @@
{
"manifests": {
"netbull/media-bundle": {
"manifest": {
"bundles": {
"NetBull\\MediaBundle\\NetBullMediaBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"gitignore": [
"/public/uploads/media/"
],
"post-install-output": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> NetBull MediaBundle </>",
"<bg=blue;fg=white> </>",
"",
" * A starter configuration was created at <comment>config/packages/netbull_media.yaml</comment>.",
" Review <comment>default_context</comment>, your contexts and their thumbnail formats.",
"",
" * The view/download routes were imported via <comment>config/routes/netbull_media.yaml</comment>",
" (<comment>/media/view/{id}/{format}</comment> and <comment>/media/download/{id}/{format}</comment>).",
"",
" * Uploads are stored under <comment>public/uploads/media</comment> by default. For production,",
" configure S3 under <comment>netbull_media.filesystem.s3</comment> and point the providers at",
" <comment>netbull_media.filesystem.s3</comment>.",
"",
" * Asynchronous thumbnails are optional: run <comment>composer require symfony/messenger</comment>",
" and set <comment>netbull_media.thumbnail.async: true</comment> to offload resizing to a worker.",
"",
" * Ensure Doctrine maps the bundle's <comment>Media</comment> entity and run your migrations.",
"",
" Reference: <fg=blue>https://packagist.org/packages/netbull/media-bundle</fg=blue>"
]
},
"files": {
"config/packages/netbull_media.yaml": {
"contents": [
"netbull_media:",
" default_context: 'default'",
"",
" # Uploads are stored on the local filesystem by default. For production, configure",
" # \"filesystem.s3\" instead and point the providers at \"netbull_media.filesystem.s3\".",
" filesystem:",
" local:",
" directory: '%kernel.project_dir%/public/uploads/media'",
" create: true",
"",
" providers:",
" image:",
" filesystem: netbull_media.filesystem.local",
"",
" # Thumbnails are generated in-process by default. Set this to true to offload resizing to a",
" # Symfony Messenger worker (requires \"composer require symfony/messenger\").",
" thumbnail:",
" async: false",
"",
" # A context groups one or more providers with the thumbnail formats generated for them.",
" contexts:",
" default:",
" providers:",
" - netbull_media.provider.image",
" formats:",
" thumb: { width: 150, height: 150, quality: 80 }",
" normal: { width: 600, quality: 85 }",
""
],
"executable": false
},
"config/routes/netbull_media.yaml": {
"contents": [
"netbull_media:",
" resource: '@NetBullMediaBundle/config/routes.yaml'",
""
],
"executable": false
}
},
"ref": "17dca4ab01d8373a0d4cf33aa694765ad903b1d6"
}
}
}