create base eloquent repository