Repository for Lavavel 5 which is used to abstract the data layer.
First, install the package through composer:
$ composer require killtw/repository
or add this to require section in your composer.json file:
"killtw/repository": "1.*"
And then, include the service provider whthin config/app.php
'providers' => [
Ontoo\Repository\Providers\RepositoryServiceProvider::class,
];
Create repositories through generator.
$ php artisan make:repository UserRepository