/repository

Repository for Laravel 5.

Primary LanguagePHP

Repository for Laravel 5

Repository for Lavavel 5 which is used to abstract the data layer.

Getting Started

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,
];

Usage

Create a repository

Create repositories through generator.

$ php artisan make:repository UserRepository