From 3a118dafbf61f8355500ee6b2735eb3ecf8c42c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20J=2E=20Garc=C3=ADa=20Lagar?= Date: Thu, 15 Dec 2022 11:25:17 +0100 Subject: [PATCH] Document the flex recipe option --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f39ab0d..5cb001b 100644 --- a/README.md +++ b/README.md @@ -68,13 +68,12 @@ Any argument passed to the twig function will be added to the `$arguments` array Symfony Bundle -------------- -If you want to use this extension in your Symfony application, you can enable the -Symfony Bundle included in this package. +The package includes a Symfony Bundle to automatically register the Twig extension. -The bundle will register the twig extension automatically. So, once enabled, you -can insert the `breakpoint` twig function in your templates. +If the app uses Symfony Flex and you allow the recipe execution, the bundle will be enabled +automatically. -### Symfony 4/5/6 +If you need to configure it manually, add the following line to the `config/bundles.php` file: ```php // config/bundles.php