Repository implementation for Laravel 4