Laravel 5 error: ‘Class User not found in’

Laravel 5 error: ‘Class User not found in’. Just recoding an error I found and how I solved it.

Class User not found in

You need to change the directory import of the class. (uncommented below was in Laravel 4.2).

Sam Deering

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *