https://matthewdaly.co.uk/blog/2022/10/26/why-i-no-longer-use-the-repository-pattern/Published by at 26th October 2022 5:30 pm One of the biggest changes for me was adopting the repository pattern - it was used routinely on every project.
If you're building an application that uses a relational database, then it's likely that most of the data you are storing is fairly well-suited to a relational data model (if it wasn't, why would you be using a relational model now?).
And if you're planning on migrating away from Eloquent to raw database queries, just because someone told you it's faster, https://matthewdaly.co.uk/blog/2022/06/05/the-orm-delusion/'.
At that time, a relational database such as MongoDB offered a significant advantages in terms of being able to store arbitrary data.