You need to define the table name in model as shown below. class User extends Model { // public $table = "products"; }