Laravel – Database, Table and Column Naming Conventions?
Laravel has its own naming convention. For example, if your model name is User.php then Laravel expects class ‘User’ to be inside that file. It also expects users table for User model. However, you can override this convention by defining a table property on your model like, class User extends Eloquent implements UserInterface, RemindableInterface { … Read more