Skip to content

Commit c1536ab

Browse files
KableCHmaxhelias
andauthored
docs: Update existing-project.md (#810)
Co-authored-by: Maxime Helias <[email protected]>
1 parent 5365a2c commit c1536ab

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/existing-project.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ Enable the Docker support of Symfony Flex:
1717

1818
composer config --json extra.symfony.docker 'true'
1919

20-
Re-execute the recipes to update the Docker-related files according to the packages you use
20+
If you want to use the [worker mode of FrankenPHP](https://github.com/php/frankenphp/blob/main/docs/worker.md), add the FrankenPHP runtime for Symfony:
21+
22+
composer require runtime/frankenphp-symfony
23+
24+
> [!TIP]
25+
> With Symfony 7.4, the `runtime/frankenphp-symfony` package isn't required anymore, as Symfony Runtime natively supports FrankenPHP worker mode.
26+
27+
Re-execute the recipes to update the Docker-related files according to the packages you use:
2128

2229
rm symfony.lock
2330
composer recipes:install --force --verbose
@@ -37,8 +44,6 @@ Start the project!
3744

3845
Browse `https://localhost`, your Docker configuration is ready!
3946

40-
> [!NOTE]
41-
> If you want to use the worker mode of FrankenPHP, make sure you required the `runtime/frankenphp-symfony` package.
42-
4347
> [!NOTE]
4448
> The worker mode of FrankenPHP is enabled by default in the Caddyfile. To disabled it, comment the `worker {}` section of this file.
49+
> You may also remove `runtime/frankenphp-symfony` if you never plan on using the worker mode.

0 commit comments

Comments
 (0)