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

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

programic/laravel-repository
============================

Using repositories in Laravel

v2.0.0(2mo ago)018.3k↓21.2%proprietaryPHPPHP ^8.2

Since Aug 2Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/programic/laravel-repository)[ Packagist](https://packagist.org/packages/programic/laravel-repository)[ RSS](/packages/programic-laravel-repository/feed)WikiDiscussions master Synced yesterday

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

Programic - Repositories
========================

[](#programic---repositories)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f273b106bd06aac2c16fdfc30297678413388bd142823c81b85cdd1dd49c9dd0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726f6772616d69632f6c61726176656c2d7265706f7369746f72792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/programic/laravel-repository)[![](https://github.com/programic/laravel-repository/workflows/Run%20Tests/badge.svg?branch=master)](https://github.com/programic/laravel-repository/workflows/Run%20Tests/badge.svg?branch=master)[![Total Downloads](https://camo.githubusercontent.com/2328957b71220ba8f8099aa602a0c495663c1fa26784082ae1e5a46a79370da5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f6772616d69632f6c61726176656c2d7265706f7369746f72792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/programic/laravel-repository)

This package allows you to use Repositories and keeps the controllers clean

### Installation

[](#installation)

This package requires PHP 8.2+ and Laravel 10, 11, 12, or 13.

```
composer require programic/laravel-repository

```

### Basic Usage

[](#basic-usage)

```
# Create Repository
php artisan make:repository UserRepository
```

```
use App\Repositories\UserRepository;
use Illuminate\Http\Request;

class UserController {

    public function index(Request $request, UserRepository $userRepository)
    {
        $userCollection = $userRepository->search($request)->get();
    }

}
```

### Laravel Boost

[](#laravel-boost)

This package includes [Laravel Boost](https://laravel.com/docs/boost) guidelines and skills. When you run `php artisan boost:install`, the repository guidelines and skills are automatically discovered and installed.

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Rick Bongers](https://github.com/rbongers)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance84

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

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

Total

4

Last Release

84d ago

Major Versions

v1.0.2 → v2.0.02026-04-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/04de5632caf547d8dfa4ffbfac25d0538f92f1e9d52d2f91a2d1d6f17a9561a5?d=identicon)[Programic](/maintainers/Programic)

---

Top Contributors

[![rick-bongers](https://avatars.githubusercontent.com/u/67374906?v=4)](https://github.com/rick-bongers "rick-bongers (6 commits)")

---

Tags

laravelprogramicrepository

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k90.5k1](/packages/mike-bronner-laravel-model-caching)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

198321.1k](/packages/fumeapp-modeltyper)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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