I usually follow that convention: class names, folders and namespaces are capitilaized. So I have an \Usr\Controller class. Anyway, it is failing in my staging environment and working with no problems on my local machine - typical :P
Have you tried capitalising it in your code? i.e.
return View::make('Usr.login');
I'm not sure about Mac OS, but pretty sure Linux is case sensitive when it comes to folder and file names (so I would have thought Mac OS would be too). I would change to a lower case folder name, though.
Yeah, it has to be that capitalization that's messing it up, as long as you're sure the file is there. I think it's best practice not to capitalize directories (except for vendor/package names?).
OSX's file system is not case sensitive, Linux is. Change the capitalisation.
Hi, I feel so stupid now... I have always worked on MacOSX as if it were case sensitive. Now it is working. Is there any convention in laravel about naming, capitalization, etc...?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community