-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Laravel 5.3 Class Not found #2
Comments
Sorry for the late answer! I tried with Laravel 5.3 both ways:
Works flawlessly! |
May I suggest where the source of the problem is? I have this failing with laravel 4.2 project with same error of |
Thanks @kroky for checking. I'll try to investigate and will fix if I can reliably reproduce it. A better naming could indeed be a solution. |
@kroky Thank you very much kroky, i'm also facing this problem. Your solution perfectly solved it , guess psr-4 couldn't find the correct file with difference on upper/lower case. As a class has to be start with Upper case , i just renamed filename as well, everything working perfectly. |
make sure you rename the file fpdf.php in src/Fpdf so that it start with a capital letter |
After updating composer with required packages and registering in config/app.php, I've tried laravel-fpdf in laravel 5.3,
simply in web.php routes like
And I'm getting error
What could possibly be wrong ?
The text was updated successfully, but these errors were encountered: