Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider not found #9

Open
acv-thanhnv opened this issue Mar 5, 2019 · 5 comments

Comments

@acv-thanhnv
Copy link

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

@siiamine
Copy link

siiamine commented Mar 6, 2019

why the owner doesnt reply ????

@austinatp2
Copy link

  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

@bagusindrayana
Copy link

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

@abdulrehman25
Copy link

abdulrehman25 commented Dec 29, 2020

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

Below is the SS attached.

image

@davcpas1234
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants