commit 635245f8b1a0892e2334d4cea6241d6950638036 Author: github-action[bot] <> Date: Sun Sep 6 15:16:03 2026 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..0c216dad --- /dev/null +++ b/index.json @@ -0,0 +1,38 @@ +{ + "aliases": { + "ux-cloudflare-image": "symfony/ux-cloudflare-image", + "ux-glide-image": "symfony/ux-glide-image", + "ux-image": "symfony/ux-image", + "ux-keycdn-image": "symfony/ux-keycdn-image", + "uxcloudflareimage": "symfony/ux-cloudflare-image", + "uxglideimage": "symfony/ux-glide-image", + "uximage": "symfony/ux-image", + "uxkeycdnimage": "symfony/ux-keycdn-image" + }, + "recipes": { + "symfony/ux-cloudflare-image": [ + "3.6" + ], + "symfony/ux-glide-image": [ + "3.6" + ], + "symfony/ux-image": [ + "3.6" + ], + "symfony/ux-keycdn-image": [ + "3.6" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": false, + "_links": { + "repository": "github.com/symfony/recipes", + "origin_template": "{package}:{version}@github.com/symfony/recipes:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1571/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1571/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +} diff --git a/symfony.ux-cloudflare-image.3.6.json b/symfony.ux-cloudflare-image.3.6.json new file mode 100644 index 00000000..e7f41b95 --- /dev/null +++ b/symfony.ux-cloudflare-image.3.6.json @@ -0,0 +1,23 @@ +{ + "manifests": { + "symfony/ux-cloudflare-image": { + "manifest": { + "env": { + "#1": "Options available at https://github.com/symfony/ux/blob/3.x/src/Image/src/Bridge/Cloudflare/README.md", + "#2": "", + "UX_IMAGE_DSN": "cloudflare://cdn.example.com" + }, + "post-install-output": [ + " * Set the host in UX_IMAGE_DSN to the domain your Cloudflare zone proxies, the one", + " your original images are served from.", + "", + " * Image transformations must be enabled on that zone before this works.", + "", + " * Read the documentation at https://github.com/symfony/ux/blob/3.x/src/Image/src/Bridge/Cloudflare/README.md" + ] + }, + "files": [], + "ref": "5bcb764518a3012239b9c89796092b47cb75e75c" + } + } +} diff --git a/symfony.ux-glide-image.3.6.json b/symfony.ux-glide-image.3.6.json new file mode 100644 index 00000000..749b88e1 --- /dev/null +++ b/symfony.ux-glide-image.3.6.json @@ -0,0 +1,41 @@ +{ + "manifests": { + "symfony/ux-glide-image": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Options available at https://github.com/symfony/ux/blob/3.x/src/Image/src/Bridge/Glide/README.md", + "#2": "The path segment below (/images) must match the prefix in config/routes/ux_image_glide.yaml", + "#3": "", + "UX_IMAGE_DSN": "glide://default/images?source=%kernel.project_dir%/public/uploads&cache=%kernel.project_dir%/var/glide-cache" + }, + "post-install-output": [ + " * Resizing happens in your application, not on a remote service.", + "", + " * The recipe added config/routes/ux_image_glide.yaml; its prefix must match the path", + " segment of UX_IMAGE_DSN, or generated URLs won't match the route.", + "", + " * Set a sign_key in the DSN before going to production, or the route will resize and", + " cache whatever anyone asks for.", + "", + " * Read the documentation at https://github.com/symfony/ux/blob/3.x/src/Image/src/Bridge/Glide/README.md" + ] + }, + "files": { + "config/routes/ux_image_glide.yaml": { + "contents": [ + "ux_image_glide:", + " resource: '@UXImageBundle/config/routes/glide.php'", + " # must match the path segment of UX_IMAGE_DSN", + " prefix: /images", + "" + ], + "executable": false + } + }, + "ref": "d3696d12da8b6a5fd52b9b04a1b50edcb2ebbf4b" + } + } +} diff --git a/symfony.ux-image.3.6.json b/symfony.ux-image.3.6.json new file mode 100644 index 00000000..a4d5935e --- /dev/null +++ b/symfony.ux-image.3.6.json @@ -0,0 +1,35 @@ +{ + "manifests": { + "symfony/ux-image": { + "manifest": { + "bundles": { + "Symfony\\UX\\Image\\UXImageBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + " * This component is installed but renders nothing on its own. It needs one provider,", + " installed as a separate package: symfony/ux-glide-image for local use with no CDN,", + " symfony/ux-cloudflare-image, or symfony/ux-keycdn-image.", + "", + " * Read the documentation at https://symfony.com/bundles/ux-image/current/index.html" + ] + }, + "files": { + "config/packages/ux_image.yaml": { + "contents": [ + "ux_image:", + " # https://symfony.com/bundles/ux-image/current/index.html#the-provider-dsn", + " provider: '%env(resolve:default::UX_IMAGE_DSN)%'", + "" + ], + "executable": false + } + }, + "ref": "73cbf0c070051852b24d9fa6f49b7ee35750fe28" + } + } +} diff --git a/symfony.ux-keycdn-image.3.6.json b/symfony.ux-keycdn-image.3.6.json new file mode 100644 index 00000000..dc752e3b --- /dev/null +++ b/symfony.ux-keycdn-image.3.6.json @@ -0,0 +1,20 @@ +{ + "manifests": { + "symfony/ux-keycdn-image": { + "manifest": { + "env": { + "#1": "Options available at https://github.com/symfony/ux/blob/3.x/src/Image/src/Bridge/KeyCdn/README.md", + "#2": "", + "UX_IMAGE_DSN": "keycdn://myzone.kxcdn.com" + }, + "post-install-output": [ + " * Set the host in UX_IMAGE_DSN to your KeyCDN zone.", + "", + " * Read the documentation at https://github.com/symfony/ux/blob/3.x/src/Image/src/Bridge/KeyCdn/README.md" + ] + }, + "files": [], + "ref": "ba30f4155315178fe271782abdbc11aea36d2118" + } + } +}