I meant Docker. The fact that I needed multiple processes (nginx+fpm) made PHP setup tricky compared with e.g. Java with embedded server.
For Symfony: https://github.com/k911/swoole-bundle
For Laravel: https://laravel.com/docs/8.x/octane
I believe you can have fpm listen on TCP and run nginx in another container if you want, although I haven't tried it so I can't vouch for it.