Support the ongoing development of Laravel.io →
Installation Configuration Views
Last updated 1 year ago.
0

why do you have Usr folder capitalized?

Last updated 1 year ago.
0

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

Last updated 1 year ago.
0

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.

Last updated 1 year ago.
0

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?).

Last updated 1 year ago.
0

OSX's file system is not case sensitive, Linux is. Change the capitalisation.

Last updated 1 year ago.
0

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...?

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

gotardo gotardo Joined 22 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.