Aug 4, 2022
thanks for your response,
you made a great point on the single responsibility principle and I can agree that eloquent just looks good but I have to disagree with your point about eloquent not being coupled with database , let me elaborate more on this:
remember that we are comparing symfony and laravel here , now imagine if we want to instanciate a model that is just hardcoded , it doesn't exist on database or anywhere else , now in symfony i can do that and the model has no relationship to database but in laravel that model still has methods like save or delete that are related directly to our database.