PHPackages                             lazyelephpant/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lazyelephpant/repository

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lazyelephpant/repository
========================

Laravel package to facilitate the repository design pattern functionality across multiple projects.

v1.0(6y ago)153532PHP

Since Jul 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/LazyElePHPant/repository)[ Packagist](https://packagist.org/packages/lazyelephpant/repository)[ RSS](/packages/lazyelephpant-repository/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Laravel Implementation of Repository Pattern
============================================

[](#laravel-implementation-of-repository-pattern)

Laravel package to facilitate repository design pattern implementation across multiple projects.

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

[](#installation)

```
composer require lazyelephpant/repository

```

Plain Repository Class
----------------------

[](#plain-repository-class)

To generate a repository class without a specific model simply run the following command:

```
php artisan make:repository NameRepository

```

Model Repository Class
----------------------

[](#model-repository-class)

To generate a repository class for a specific model you may specify by defining the `--model`:

```
php artisan make:repository NameRepository --model=User

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

2

Last Release

2511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93111f6de6f36dfe569321d62494ea95bc8f0c79a8332f936b5040b2a4ced69e?d=identicon)[LazyTurtle](/maintainers/LazyTurtle)

---

Top Contributors

[![LazyElePHPant](https://avatars.githubusercontent.com/u/53020462?v=4)](https://github.com/LazyElePHPant "LazyElePHPant (6 commits)")

### Embed Badge

![Health badge](/badges/lazyelephpant-repository/health.svg)

```
[![Health](https://phpackages.com/badges/lazyelephpant-repository/health.svg)](https://phpackages.com/packages/lazyelephpant-repository)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
