LARAVEL-PDF-VIEWER icon indicating copy to clipboard operation
LARAVEL-PDF-VIEWER copied to clipboard

Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider not found

Open acv-thanhnv opened this issue 5 years ago • 5 comments

I saw other people and me has this error, please resolve it, thanks .

acv-thanhnv avatar Mar 05 '19 07:03 acv-thanhnv

why the owner doesnt reply ????

siiamine avatar Mar 06 '19 18:03 siiamine

  1. Remove Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider::class, from config/app.php, providers key,
  2. Copy folder laraview

from: vendor\goodnesskay\laravelpdfviewer to: public

  1. Copy pdf file (whatever), ex test.pdf, to public folder
  2. Test, open Browser

http://xxx.xxx.xx/laraview/#../test.pdf

austinatp2 avatar Jun 27 '19 06:06 austinatp2

yeah i gues this package just copy laraview folder to public folder

ohh yeah if you use idm or similar maybe you want disable that because idm always download pdf file except open in browser

bagusindrayana avatar Nov 27 '19 15:11 bagusindrayana

@austinatp2 Answer worked, thanks Man but it's not showing the file content and auto-downloading the file

Below is the SS attached.

image

abdulrehman25 avatar Dec 29 '20 15:12 abdulrehman25

Hey everyone 👋🏻

I ran into this issue myself and it's to do with the way that the composer.json file is constructed. I have made a fork of the project and resolved this issue in my Stable v1.0.1 version. You can view it here: https://github.com/davcpas1234/laravel-pdf-viewer

davcpas1234 avatar May 31 '21 12:05 davcpas1234