Skip to content

Conversation

@alexandre-daubois
Copy link
Member

@henderkes
Copy link
Contributor

that's sweet!

@dunglas
Copy link
Member

dunglas commented Jun 20, 2025

In my opinion, we should wait for the stable release of Symfony 7.4 and remove the outdated documentation at this point.

@alexandre-daubois
Copy link
Member Author

It could be useful to have a note to help people upgrading rather than completely remove the current doc?

@henderkes
Copy link
Contributor

I think a "starting with symfony 7.4" note is totally fine. Or we just keep the PR on hold until 7.4 releases.

@alexandre-daubois
Copy link
Member Author

Let's close and wait for 7.4 as stated in #1668 (comment).

@henderkes
Copy link
Contributor

I would keep this open/drafted so we don't forget about it.

@alexandre-daubois
Copy link
Member Author

Let's keep it in draft then 🙂

@alexandre-daubois alexandre-daubois marked this pull request as draft September 15, 2025 15:52
```

> [!TIP]
> À partir de Symfony 7.4, la dépendance `runtime/frankenphp-symfony` n'est plus nécessaire, car Symfony Runtime prend en charge nativement le mode worker de FrankenPHP.
Copy link

Choose a reason for hiding this comment

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

Does the value of APP_RUNTIME env var must be changed ?

Also it seems weird to read of FRANKENPHP_CONFIG to activate worker as it is now the default

Copy link
Contributor

Choose a reason for hiding this comment

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

Setting APP_RUNTIME will not be necessary anymore.

Worker mode is not the default, not sure how you got that impression.

Copy link

Choose a reason for hiding this comment

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

I ve taken a shorcut saying this I suppose

The « recommended » way for running symfony and docker is via the repo https://github.com/dunglas/symfony-docker/blob/main/frankenphp/Caddyfile and its caddyfile declare worker

so as this PR talks about symfony and runtime etc, i was asking if it is not weird to read this :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Setting APP_RUNTIME won't be necessary but as long as we support version without this feature on the Symfony side, I guess we'll just keep it

Copy link
Contributor

Choose a reason for hiding this comment

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

We should still say that "the following changes are necessary if you use an older Symfony version than 7.4". Symfony 7.4+ users can skip the whole page and shouldn't be setting APP_RUNTIME

Copy link

Choose a reason for hiding this comment

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

thanks for your comments all
also what about mentioning the FRANKENPHP_LOOP_MAX (at least) ?

I can provide a PR for both env vars

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. please create one targeting this PR branch!

@alexandre-daubois
Copy link
Member Author

Symfony 7.4 is out! @dunglas do you still think that we should remove entirely mention of the additional runtime?

@henderkes
Copy link
Contributor

Symfony 7.4 is out! @dunglas do you still think that we should remove entirely mention of the additional runtime?

I think we'd all like to, but we really can't. Users with Symfony <= 7.3 would not be happy and we can't expect everyone to adopt immediately. I think it's fair to remove it when Symfony 7.3 goes out of support, up until that point we have to keep it.

@alexandre-daubois alexandre-daubois marked this pull request as ready for review December 1, 2025 10:13
@alexandre-daubois
Copy link
Member Author

Ready @php/frankenphp-collaborators 🙂

Copy link
Contributor

@henderkes henderkes left a comment

Choose a reason for hiding this comment

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

Great wording!

@henderkes
Copy link
Contributor

Think we forgot about this one, linter is now happy.

@henderkes henderkes merged commit 694ab86 into php:main Dec 14, 2025
1 check 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.

[Runtime] Automatically use FrankenPHP runner when its worker mode is d…

4 participants