From 27766297a25428ec5e28dd34b63a10481bfe7f7c Mon Sep 17 00:00:00 2001 From: Xavier Lacot Date: Sun, 23 Nov 2025 13:47:32 +0100 Subject: [PATCH] Add JoliMediaBundle recipe (#1889) --- .../0.1/config/packages/joli_media.yaml | 21 +++++++++++++++++++ .../0.1/config/routes/joli_media.yaml | 12 +++++++++++ jolicode/media-bundle/0.1/manifest.json | 8 +++++++ jolicode/media-bundle/0.1/post-install.txt | 7 +++++++ 4 files changed, 48 insertions(+) create mode 100644 jolicode/media-bundle/0.1/config/packages/joli_media.yaml create mode 100644 jolicode/media-bundle/0.1/config/routes/joli_media.yaml create mode 100644 jolicode/media-bundle/0.1/manifest.json create mode 100644 jolicode/media-bundle/0.1/post-install.txt diff --git a/jolicode/media-bundle/0.1/config/packages/joli_media.yaml b/jolicode/media-bundle/0.1/config/packages/joli_media.yaml new file mode 100644 index 00000000..80cb254c --- /dev/null +++ b/jolicode/media-bundle/0.1/config/packages/joli_media.yaml @@ -0,0 +1,21 @@ +# 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 diff --git a/jolicode/media-bundle/0.1/config/routes/joli_media.yaml b/jolicode/media-bundle/0.1/config/routes/joli_media.yaml new file mode 100644 index 00000000..da01f2dc --- /dev/null +++ b/jolicode/media-bundle/0.1/config/routes/joli_media.yaml @@ -0,0 +1,12 @@ +_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 diff --git a/jolicode/media-bundle/0.1/manifest.json b/jolicode/media-bundle/0.1/manifest.json new file mode 100644 index 00000000..5f1e930a --- /dev/null +++ b/jolicode/media-bundle/0.1/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "JoliCode\\MediaBundle\\JoliMediaBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/jolicode/media-bundle/0.1/post-install.txt b/jolicode/media-bundle/0.1/post-install.txt new file mode 100644 index 00000000..35ff5809 --- /dev/null +++ b/jolicode/media-bundle/0.1/post-install.txt @@ -0,0 +1,7 @@ + * JoliMediaBundle has been successfully installed! Complete the configuration: + 1. Configure your media library storage in %CONFIG_DIR%/packages/joli_media.yaml + 2. Read the documentation options at https://mediabundle.jolicode.com/getting-started/configuration/ + + * Learn how to install the required processors at https://mediabundle.jolicode.com/getting-started/dependencies-and-tooling/ + + * To enable an admin bridge, follow the instructions at https://mediabundle.jolicode.com/bridges/