I keep getting a “Class not found” error with newly created models. I know that the syntax is absolutely correct. I iterated over it several times, and I copied and pasted variables to avoid spelling errors.
I also ran
php artisan dump-autoload
mulitple times, but still no luck. This happens in every file, and this only happens with newly created models.
source
share