Did you try
php artisan dump-autoload
?
From the Laravel documentation:
This command will regenerate the autoload files for your root project, as well as any workbenches you have created.
To @d33k4y : Yes ~ I have already try it, but I still get the ERROR " Class 'LaravelFacebookRedirectLoginHelper' not found "
can you try this and run "php artisan dump-autoload" again ?
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/libs",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
},
to @tantam I have set this befor > < still cant use this class
this my composer.json
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/libs",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
}
Sometime I got this issue and I have to remove complied and vendor folder, then I run composer install again ! Maybe you can try ?
Or, maybe you have to add \ before your class name ?
Hey guys > < thanks to help me solve this question.
Finally, I found that it's my fault.
I use PHP short tag at initial (" <? ") so my composer can't read that class correctly.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community