DEV Community

Discussion on: Cleaner models with Laravel Eloquent Builders

Collapse
 
maxgoryunov profile image
MaxGoryunov

The truth is, you do not have to map data to objects(models). I would even say this is a horrible idea. You should always separate data and objects, otherwise your models will become huge inevitably.