LARAVEL-PDF-VIEWER
LARAVEL-PDF-VIEWER copied to clipboard
Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider not found
I saw other people and me has this error, please resolve it, thanks .
why the owner doesnt reply ????
- Remove Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider::class, from config/app.php, providers key,
- Copy folder laraview
from: vendor\goodnesskay\laravelpdfviewer to: public
- Copy pdf file (whatever), ex test.pdf, to public folder
- Test, open Browser
http://xxx.xxx.xx/laraview/#../test.pdf
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
@austinatp2 Answer worked, thanks Man but it's not showing the file content and auto-downloading the file
Below is the SS attached.
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