PHPackages                             anik/repottern - 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. [Framework](/categories/framework)
4. /
5. anik/repottern

AbandonedLibrary[Framework](/categories/framework)

anik/repottern
==============

Repottern is a repository pattern for Laravel.

1.0.1(9y ago)019MITPHPPHP &gt;=5.6

Since Jul 7Pushed 9y agoCompare

[ Source](https://github.com/ssi-anik/repottern)[ Packagist](https://packagist.org/packages/anik/repottern)[ RSS](/packages/anik-repottern/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Repottern - A repository pattern for Laravel &gt;= 5
----------------------------------------------------

[](#repottern---a-repository-pattern-for-laravel--5)

Those who are working with MVC and want to work in Thin Model, Thin Controller, Fat Repository. This one will do this for you. This works like the Laravel Eloquent does. Exactly the same, with some extra features.

Requirements:
-------------

[](#requirements)

- Laravel 5+
- PHP 5.6+

How to install
--------------

[](#how-to-install)

`composer require anik/repottern`

Usages
------

[](#usages)

To make it use, you've to create a Class, where your Class which will extend `Anik\Repottern\BaseRepository` , next implement the model method from that class and you're done.

Now, you can inject this class to method, to constructor, or can call the methods statically using that class.

Assuming you've an User model. Now,

```
