So I can't find the answer to this. I had my class Permission, the name of the file was Permission.php but the class was Permission2
try composer dumpautoload or...
try having the file name match the class name. so if you're gonna use Permission2 as a class name. rename the file as Permission2.php. then run composer dumpautoload
Thx that did it, i was sure i was missing something with composer but couldn't find the command.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community