Did all the install steps, but when i run php artisan vendor:publish --provider="Barryvdh\Snappy\ServiceProvider", i got [Symfony\Component\Debug\Exception\FatalErrorException] Barryvdh\Snappy\ServiceProvider not found
my app.php providers contais Barryvdh\Snappy\ServiceProvider::class
Does it contain these facades as well:
'PDF' => Barryvdh\Snappy\Facades\SnappyPdf::class,
'SnappyImage' => Barryvdh\Snappy\Facades\SnappyImage::class,
if not try adding them under aliases I hope it helps you.
I have exactly the same problem.
any solutions for this one?
me too :(
Class 'Barryvdh\Snappy\Facades\SnappyPDF' not found
@LucasPantoja try run command
composer require barryvdh/laravel-snappy
i have all so same issue....: (
(1/1) Error
Class 'Barryvdh\Snappy\ServiceProvider' not found
Have you tried running composer dump-autoload?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/KnpLabs/snappy instead. When having doubts, please try to reproduce the issue with just snappy.
If you believe this is an actual issue with the latest version of laravel-snappy, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.
Most helpful comment
@LucasPantoja try run command
composer require barryvdh/laravel-snappy