laravel – Changing the file name when open the pdf file in browser using php code

I have an issue while showing the file in browser. Generally I have pdf file to show (may be other). So first here is my code —

  header('Content-Description: File Transfer');
      //              $filename = "myfile.pdf;
     //               header('Content-Disposition: inline; filename=' . $filename);
    //                header('Content-Transfer-Encoding: binary');
    //                header('Expires: 0');
    //                header('Cache-Control: must-revalidate');
    //                header('Pragma: public');
    //                header('Content-Length: ' . strlen(base64_decode($decodedbase64string)));
    //                ob_clean();
    //                flush();
    //decode the image
                    echo base64_decode($decodedbase64string);

It working fine as I am running it in url http://localhost/myproject/get-document as the screenshot attached.
enter image description here

Here in the screenshot the file name seems get-document, but I just need to change it for the file name as custom name put in the variable.