New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class 'PDFMerger\PDFMerger' not found in Laravel #34
Comments
Same here, even in "bare bones" PHP app with properly configured |
Error also occur using Laravel 5.2. Installed using |
Found any solution for above issue? Even I am getting this issue for drupal. |
@christiancannata @humblecoder @jiwom @swetaranjan7 I'm sorry that I was far away from github. Below is the working example require_once ('PDFMerger/PDFMerger.php');
use PDFMerger\PDFMerger;
$pdf = new PDFMerger;
$pdf->addPDF('a.pdf');
$pdf->addPDF('b.pdf');
$pdf->merge('download','merged.pdf'); |
main(): Failed opening required 'PDFMerger/PDFMerger.php' (include_path='.;C:\php\pear') getting this error after installing through composer and using the namespace as mentioned above |
same |
For my case, simply add the declaration in composer.json as follows.
Then, don't need to declare
Just .....
|
Hi guys,
after downloaded package with composer, I got this error when I try to create new PDFMerger object.
in vendor there is the folder with class and namespace correctly.
The text was updated successfully, but these errors were encountered: