Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,28 @@ On Windows:
set SYMFONY_VERSION=6.4.* && docker compose up --wait&set SYMFONY_VERSION=
```

> [!NOTE]
>
> If you install a Symfony 6.4 version, you also need to do these steps:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
> If you install a Symfony 6.4 version, you also need to do these steps:
> If you're using Symfony 7.3 or earlier with FrankenPHP in worker mode, you also need to follow these steps

>
> ```console
> composer require runtime/frankenphp-symfony
> ```
>
> Add this content `env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime` in the `frankenphp/Caddyfile` on the `worker`section.
>
> ```Caddyfile
> frankenphp {
> {$FRANKENPHP_CONFIG}
>
> worker {
> file ./public/index.php
> env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime
> {$FRANKENPHP_WORKER_CONFIG}
> }
> }
> ```
Comment on lines +38 to +48
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we instead use a diff like these :

Suggested change
> ```Caddyfile
> frankenphp {
> {$FRANKENPHP_CONFIG}
>
> worker {
> file ./public/index.php
> env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime
> {$FRANKENPHP_WORKER_CONFIG}
> }
> }
> ```
> ```diff
> worker {
> file ./public/index.php
> + env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime
> {$FRANKENPHP_WORKER_CONFIG}
> }
> ```


## Installing Development Versions of Symfony

To install a non-stable version of Symfony,
Expand Down