Is it possible to add a standard parameter to all the answers in laravel? For example, what would
return response([ 'status' => 'ok' ], 200);
Returned not only status, but also some default value (for example, a version).
{ "version": "0.1", "status": "ok" }