Nothing is elegant about modern php. Maybe the lambdas with 'use' keywords.
You have request()->params, response() in the framework But all the raw data is still there in $_GET & $_POST, file_get_contents('php://input'). You can still echo "" to the browser, and still send header() from everywhere.
It almost looks like php developers around 2009 were really wanting to write enterprise Java, but had to use php at their day jobs, so they gradually made php pretend to be something else.
> Nothing is elegant about modern php. Maybe the lambdas with 'use' keywords.
I was not talking about PHP, but Laravel.