Laravel Base64 Decode Simpan File

public function savePDF($base64, $fiscalSign): void
{
    Storage::disk('local')->put('terminal/' . $fiscalSign . '.pdf', base64_decode($base64));
}
Shadow