Search code examples
phplaravellaravel-5naming-conventions

Laravel controller name should be plural or singular?


What is the naming convention in Laravel for controllers? They should be singular or plural. I saw some people use singular and some people use plural for that. What is the correct form?


Solution

  • Here is a list of naming conventions accepted by Laravel community. According to this, Controller name should be Singular although you could chose your own convention as your need or how your team prefer.