Closed markalanevans closed 10 years ago
Not sure what you mean. Laravel core class names are pascal case, too.
https://laracasts.com/lessons/where-do-i-put-this 2:59 marker.
All of your directories are Pascal cased rather than lowercased.
Probably a good talk would be "The Larval Way" by Jeffrey Way ;)
Where you talk about: class / directory / file / method / variable
naming conventions
Perhaps i should make that a "Request"?
Right, so whats the Logic for when it should be Pascal vs lowercased?
Oh, that's because those are vendor packages, installed through Composer. If you look at Laravel's core classes (like within the Auth folder you pointed to), they'll all be PascalCase.
Ok. Cool. So basically lowercase for generic directories. Pascal for Package Directories.
Thank Jeffrey.
I noticed that in many of your demos, your creating folders Pascal Casing
MyNewClass
where as everything else in laravel is all lowercase
Do you have suggestions thoughts on this?