Skip to content
Hunter Wu edited this page Feb 7, 2020 · 2 revisions

installation

apt install php7.2-zip php-xml

response header

$resp = JsonResponse::create(['data' => $data]);
$resp->header('Cache-Control', 'max-age=3600');
return $resp;
Clone this wiki locally