PHPackages                             nicoaudy/repository - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. nicoaudy/repository

ActiveLibrary[Database &amp; ORM](/categories/database)

nicoaudy/repository
===================

Laravel Repositories

v0.1(8y ago)3501MITPHPPHP &gt;=5.5.9

Since May 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/nicoaudy/repository)[ Packagist](https://packagist.org/packages/nicoaudy/repository)[ Docs](https://github.com/nicoaudy/repository.git)[ RSS](/packages/nicoaudy-repository/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Laravel Repositories
====================

[](#laravel-repositories)

Laravel Repositories is a package for Laravel 5 which is used to abstract the database layer. This makes applications much easier to maintain.

Installation
------------

[](#installation)

Run the following command from you terminal:

```
composer require "nicoaudy/repository: 0.*"
```

or add this to require section in your composer.json file:

```
"nicoaudy/repository": "0.*"

```

then run `composer update`

Usage
-----

[](#usage)

First, create your repository class. Note that your repository class MUST extend `Nicoaudy\Repositories\Eloquent\Repository` and implement model() method

```
