Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

AbdulBazith's avatar

Remove a package from laravel in live server issue

i have installed barryvdh/laravel-snappy in my local system and everything worked fine.

and my wkhtmltopdf path is:

'binary' => '"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf"'

but i cant work with images why? and i tried to use this package in live shared hosting so i copied the vendor config folders in live.

but due to this path issue it showed error. so now i planned to use some other package, now how i can remove this package from live? kindly some one suggest.

Note:

at first i use DOM/pdf. that gave me correct format. but i need to add external css and js files. because for reports i need progress bar, charts, graphs. i started installing

barryvdh/laravel-snappy

but now i dont know which package i should use, and which will support css, js files..

some one suggest please

0 likes
2 replies
AbdulBazith's avatar

@fylzero thank you for your response. ya did and it worked.

Now i need the pdf package which will be better package that need to support external css and js files

barryvdh/laravel-snappy this i cant use in server

kindly suggest please

Please or to participate in this conversation.