PHPackages                             luizhenriqueferreira/laravel-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. luizhenriqueferreira/laravel-repository

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

luizhenriqueferreira/laravel-repository
=======================================

A simple package to create a make:repository command for Laravel

v1.1(5y ago)09MITPHPPHP ^7.2.5

Since Nov 24Pushed 5y ago1 watchersCompare

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

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

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

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

Laravel package to facilitate repository design pattern.

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=Name

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~140 days

Total

2

Last Release

1856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b68173114ce35c2ae1883ea99bcd82732dd361734889f1bb3dc0da7418fe7d5?d=identicon)[Luiz Henrique](/maintainers/Luiz%20Henrique)

---

Top Contributors

[![luizhenriqueferreira](https://avatars.githubusercontent.com/u/30929047?v=4)](https://github.com/luizhenriqueferreira "luizhenriqueferreira (2 commits)")

---

Tags

laravelmodeleloquentrepository

### Embed Badge

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

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

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[sebastiaanluca/laravel-boolean-dates

Automatically convert Eloquent model boolean attributes to dates (and back).

40111.7k1](/packages/sebastiaanluca-laravel-boolean-dates)

PHPackages © 2026

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