PHPDocumentParser icon indicating copy to clipboard operation
PHPDocumentParser copied to clipboard

Fatal error: Call to undefined function parseFromFile()

Open jamminjames opened this issue 8 months ago • 1 comments

I installed via Composer, and in the file I have:

require_once __DIR__ . '/vendor/autoload.php';
use LukeMadhanga\DocumentParser;

I'm trying to parse using: $parse = parseFromFile($file,'text/rtf');

I'm getting Fatal error: Call to undefined function parseFromFile()

Should I be using something else at the top of the file?

Thanks for any help.

jamminjames avatar May 20 '25 08:05 jamminjames