From 03de9267d7072b7df7f95c76801cb61d4d4c01f1 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Mon, 9 Feb 2026 09:31:30 +0100 Subject: [PATCH] [Docs] Add allow-contrib step to getting started guide Sylius recipes are in symfony/recipes-contrib which Flex ignores by default. Without this step, users end up with missing bundle registrations and config files with no clear error message. --- docs/getting-started.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index a85bf18c..57da928a 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -20,6 +20,14 @@ symfony new my_project_directory --version="8.0.*" --webapp cd my_project_directory ```` +### Allow Contrib Recipes + +Sylius Stack recipes are hosted in the `symfony/recipes-contrib` repository. To ensure Symfony Flex installs them automatically, enable contrib recipes before requiring the packages: + +```bash +composer config extra.symfony.allow-contrib true +``` + ### Install the package using Composer and Symfony Flex Go to your project directory and run the following command: