I am bit confused with Laravel conventions as I am new to this framework. I am following Jeffrey Way Laracasts videos he uses Plural for Controller names.
E.g.: PagesController, Cards Controller, PostsController
But if I refer official documentations of Laravel > Controllers and Laravel > Tutorials > Quick Start > Intermediate Task List it uses Singular names.
E.g.: PhotoController, TaskController
Can anybody please list down the official coding conventions for following entities?
Tables: posts, comments, post_comments or Post, Comment, PostComment
Columns: id, post_id, comment_id or id, postId, commentId
Controllers: PagesController, Cards Controller, PostsController or PhotoController, TaskController
Models: Pages, Cards, Posts or Page, Card, Post