Add JoliMediaBundle recipe (#1889)

This commit is contained in:
Xavier Lacot
2025-11-23 13:47:32 +01:00
committed by GitHub
parent 9104955737
commit 27766297a2
4 changed files with 48 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"JoliCode\\MediaBundle\\JoliMediaBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,7 @@
* 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/</>