Theodory Faustine

Results 5 comments of Theodory Faustine

Guys same problem with laravel 5.6 any idea what is the problem here

I think we have to use Response()->file($filepath,$headers) From the documentation so as to force document to open on the browser and it is working perfectly fine.

@djoudi Read Laravel documentation about Response you will find Files stuffs

@djoudi Also you can use the simple solution Use inside href put you file path when someone click that document will open on the browser.

@djoudi I mean use anchor tags and inside href put file path