joanhey / AdapterMan

Run almost any PHP app faster and asynchronously with Workerman, without touch 1 line of code in your fw or app. Also use it as Serverless.
https://twitter.com/adaptermanphp
MIT License
755 stars 50 forks source link

Does this bundle support symonfy7? #80

Closed Mickeywaugh closed 2 weeks ago

Mickeywaugh commented 3 months ago

Does this bundle support symonfy7? I think the answer should be "Yes",but how to write the start.php for symfony7?

joanhey commented 3 months ago

Of course, and the start.php work for both Symfony 6 and 7, without any change. We didn't test it with older versions.

And the same Laravel start.php work with Laravel 8, 9, 10 and 11.

To maintain the Techempower benchmark, we update it regularly with the new PHP frameworks versions. Til now, we never had to change the start.php or Adapterman.

But we need to change the code use it for the framework, to adapt it to the new framework version for work with PHP-FPM or any other SAPI.

PD: We are testing a new start.php, that execute the terminate() in another event, to have faster apps.