Skip to content

feat(jolimedia): Add Flex recipe for JoliMediaSylius bridge - #1980

Merged
symfony-recipes-bot merged 1 commit into
symfony:mainfrom
loic425:joli-media-sylius
May 18, 2026
Merged

feat(jolimedia): Add Flex recipe for JoliMediaSylius bridge#1980
symfony-recipes-bot merged 1 commit into
symfony:mainfrom
loic425:joli-media-sylius

Conversation

@loic425

@loic425 loic425 commented May 15, 2026

Copy link
Copy Markdown
Contributor

@loic425 loic425 changed the title feat(jolimedia): Add Flex recipe for JoliMediaSylius brige feat(jolimedia): Add Flex recipe for JoliMediaSylius bridge May 15, 2026
@symfony-recipes-bot
symfony-recipes-bot enabled auto-merge (squash) May 15, 2026 09:37
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1980/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1980/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'jolicode/media-bundle:^0.4'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

jolicode/media-bundle

0.1 vs 0.4
diff --git a/jolicode/media-bundle/0.1/config/packages/joli_media.yaml b/jolicode/media-bundle/0.4/config/packages/joli_media.yaml
index 80cb254c..df8cf100 100644
--- a/jolicode/media-bundle/0.1/config/packages/joli_media.yaml
+++ b/jolicode/media-bundle/0.4/config/packages/joli_media.yaml
@@ -1,3 +1,7 @@
+# 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
diff --git a/jolicode/media-bundle/0.1/config/routes/joli_media.yaml b/jolicode/media-bundle/0.4/config/routes/joli_media.yaml
index da01f2dc..6f0d9e03 100644
--- a/jolicode/media-bundle/0.1/config/routes/joli_media.yaml
+++ b/jolicode/media-bundle/0.4/config/routes/joli_media.yaml
@@ -10,3 +10,8 @@ _joli_media:
 # _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

auto-merge was automatically disabled May 15, 2026 09:37

Head branch was pushed to by a user without write access

@loic425
loic425 force-pushed the joli-media-sylius branch from b4c627f to 9a6148c Compare May 15, 2026 09:37
@symfony-recipes-bot
symfony-recipes-bot enabled auto-merge (squash) May 15, 2026 09:37
@@ -0,0 +1,17 @@
_joli_media:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@loic425 _ prefix is necessary?

@symfony-recipes-bot
symfony-recipes-bot merged commit 3050b3d into symfony:main May 18, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants