jakub.kratina
3 years ago

Eloquent model vs Repository

Posted 3 years ago by jakub.kratina

Hello guys,

quick question, what logic (code) should be in Eloquent and in the Repository?

  • what if i need do more complicated algorithm with no relation to database, only application login, but related for example to Articles?

Thanks for hints or links to some material.

Jakub

Please sign in or create an account to participate in this conversation.