smalot / pdfparser

PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.
GNU Lesser General Public License v3.0
2.3k stars 534 forks source link

Getting error Class 'Smalot\PdfParser\Parser' not found. #656

Closed sagarsapariya93 closed 4 months ago

sagarsapariya93 commented 6 months ago

Hello I am trying to use PdfParser in my ERP system which is develop in PHP CI frame work. I am getting this issue Class 'Smalot\PdfParser\Parser' not found. How to solve My composer in public_html. pdfparser-master folder is under public_html/vendor/pdfparser-master How to Solve this?

Thanks

k00ni commented 6 months ago

This sounds like an autoloading issue. Please check, that you include the file [...]/public_html/vendor/autoload.php, which points to PDFParser classes. Usually Composer handles all that for you. Also make sure you followed all steps how to use Composer: https://getcomposer.org/doc/01-basic-usage.md