LARAVEL-PDF-VIEWER
LARAVEL-PDF-VIEWER copied to clipboard
can't install on laravel 5.4
I tried to install the package and first 2 step are ok: composer require goodnesskay/laravelpdfviewer (on cmd) Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider::class, (added to providers)
but last one php artisan vendor:publish --provider="Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider" throws this error: [Symfony\Component\Debug\Exception\FatalThrowableError] Class 'Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider' not found
same issue... pls reply
private reply to me was: ASAP... no news since then... But I know there's some problem between these JS plugins and the final print (due to resizing), so if these plugin is affected by this problem it's unusable for me, but maybe is possible to patch it, i still can't try that...
I am getting the same issue with the package.
In ProviderRepository.php line 208: Class 'Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider' not found
I am also getting the same issue with the package. In ProviderRepository.php line 208: Class 'Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider' not found please reaply
Not laraview folder create my project root
Why not you reaply...............
Can't install on 5.5. Same error: In ProviderRepository.php line 208: Class 'Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider' not found
Same problem, here with Laravel 5.6.12. Anyone solved this issue?
Guys same problem with laravel 5.6 any idea what is the problem here
same problem with me laravel 5.5
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.
@Theodory where we put this : Response()->file($filepath,$headers)
@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
same problem here.. tried to debug and gave up.. the ServiceProvider just copies vendor\Goodnesskay\laravelpdfviewer\laraview into the public directory of your project, then its not needed anyway.. so i did that manually, removed app.php provider registration and works fine for me.
hello im newbie learning this, im not basically programming, i have a question, where im put this in my html file. thank you
**Simple!!! After installations and configurations have been carried out successfully, add the code below to your html file
{{ asset('/laraview/#../folder-name/the-pdf-file.pdf') }}**
I am getting the same issue with the package.
In ProviderRepository.php line 208: Class 'Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider' not found
I got the solution.. just remove 'Goodnesskay\LaravelPdfViewer\LaravelPdfViewerServiceProvider' from config/app.php
It works..
is this package working with laravel 5.7+ ?
same problems
same problem with Laravel 8
same problem with Laravel 8
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