PHPackages                             aderemi/lara-repo - 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. aderemi/lara-repo

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

aderemi/lara-repo
=================

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

081PHP

Since Nov 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Aderemi/Laravel-Repo)[ Packagist](https://packagist.org/packages/aderemi/lara-repo)[ RSS](/packages/aderemi-lara-repo/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-repositories)

Laravel Repositories is a package for Laravel 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 "Aderemi/LaraRepo: @dev"
```

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

```
"supermart_nigeria/library": "@dev"

```

then run `composer update`

Usage
-----

[](#usage)

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

```
