Published 9 months ago by maxnb
How to name controller folder using singular or plural?
for example Controllers/User/RoleController or Controllers/Users/RoleController
I don't think the directory name matters at all. Like in Laravel Spark, Taylor is using both singular and plural names for different controller directories...
/Auth /Kiosk /Settings
Even in the docs, it shows using a plural as an example in the "Controllers and Namespaces" section. https://laravel.com/docs/5.4/controllers
You do realize some of the intro videos are absolutely free no cost to you as in free.
I have watched lots of laravel videos, but I have a short memory and right now I am working on a bigger project where I like to organize stuff more, I came here to forum to get quick answer, instead of checking gazillion videos to see what everyone else is using :)
1 second is all it takes you to type what you are using and that is what I was looking for.