Э
Size: a a a
Э
М
М
A
A
MW
$page = view('web.sections.protocols.show-pdf', compact('protocol'));
$newFilePath = storage_path('pdf/protocol_t.pdf');
$client = new Client();
$result = $client->post('http://pdf:3000/html', ['body'=>$page]);
file_put_contents($newFilePath, $result->getBody()->getContents()); // save pdf
return Response::download($newFilePath);ВБ
АД
АД
D
D
MW
D
D
MW
MW
D
SC
D
SC