Database Model
This document lists topics useful for developers intestered in building, debugging, customizing, and writing plug-ins for Nestor.
Database models and repositories
Even though we are using Laravel and Eloquent our project uses it slightly different than what you find in similar projects.
You will find the Eloquent models under app/models. However, controllers don’t models directly. Instead, they access a repository layer. The repositories are located under app/Nestor/Repositories/. There you will find interfaces and its implementations.
The intention of this approach is avoid Eloquent dependency for tests.