commit 3b130175aeab04681e6fb73bea09b988e54fa5fe Author: github-action[bot] <> Date: Sun Jun 7 15:54:36 2026 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..43348884 --- /dev/null +++ b/index.json @@ -0,0 +1,20 @@ +{ + "aliases": [], + "recipes": { + "netbull/media-bundle": [ + "7.2" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_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_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_relative": "archived/{package_dotted}/{ref}.json" + } +} diff --git a/netbull.media-bundle.7.2.json b/netbull.media-bundle.7.2.json new file mode 100644 index 00000000..2724c149 --- /dev/null +++ b/netbull.media-bundle.7.2.json @@ -0,0 +1,85 @@ +{ + "manifests": { + "netbull/media-bundle": { + "manifest": { + "bundles": { + "NetBull\\MediaBundle\\NetBullMediaBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "gitignore": [ + "/public/uploads/media/" + ], + "post-install-output": [ + " ", + " NetBull MediaBundle ", + " ", + "", + " * A starter configuration was created at config/packages/netbull_media.yaml.", + " Review default_context, your contexts and their thumbnail formats.", + "", + " * The view/download routes were imported via config/routes/netbull_media.yaml", + " (/media/view/{id}/{format} and /media/download/{id}/{format}).", + "", + " * Uploads are stored under public/uploads/media by default. For production,", + " configure S3 under netbull_media.filesystem.s3 and point the providers at", + " netbull_media.filesystem.s3.", + "", + " * Asynchronous thumbnails are optional: run composer require symfony/messenger", + " and set netbull_media.thumbnail.async: true to offload resizing to a worker.", + "", + " * Ensure Doctrine maps the bundle's Media entity and run your migrations.", + "", + " Reference: https://packagist.org/packages/netbull/media-bundle" + ] + }, + "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" + } + } +}