Repositories to abstract the database layer 
Link: Laravel 5 Repositories