PHPackages                             usmonaliyev/repository-pattern - 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. usmonaliyev/repository-pattern

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

usmonaliyev/repository-pattern
==============================

1.2.3(2y ago)52.5k↓22.7%MITPHPPHP ^7.4|^8

Since Sep 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Temur5319436/repository-pattern)[ Packagist](https://packagist.org/packages/usmonaliyev/repository-pattern)[ RSS](/packages/usmonaliyev-repository-pattern/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)DependenciesVersions (11)Used By (0)

REPOSITORY-PATTERN
==================

[](#repository-pattern)

This repository helps to you that create interface, create repository class in [laravel](https://laravel.com/) projects.

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

[](#installation)

Install this package with composer

```
composer require --dev usmonaliyev/repository-pattern
```

Using
-----

[](#using)

```
php artisan create:pattern Foo
```

This command creates `FooInterface` in `App/Interfaces` folder.

It creates `FooRepository` in `App/Repositories` which is implemented `FooInterface`.

It inserts `$this->app->singleton(FooInterface::class, FooRepository::class);` to boot function of `App/Providers/AppServiceProvider.php`

Authors
-------

[](#authors)

- [Temur5319436](https://www.github.com/Temur5319436)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Recently: every ~53 days

Total

9

Last Release

1075d ago

PHP version history (2 changes)1.0.1PHP ^7.4

1.1.1PHP ^7.4|^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/62ad097b3a2c1c7fba629ae280b33a9bcb12caf5dab6846737a7703046c5bad4?d=identicon)[usmonaliyev99](/maintainers/usmonaliyev99)

---

Top Contributors

[![usmonaliyev99](https://avatars.githubusercontent.com/u/63544323?v=4)](https://github.com/usmonaliyev99 "usmonaliyev99 (22 commits)")

### Embed Badge

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

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

###  Alternatives

[pclzip/pclzip

A PHP library that offers compression and extraction functions for Zip formatted archives

19412.9M4](/packages/pclzip-pclzip)[rilwis/meta-box

The most powerful &amp; comprehensive plugin to create, manage, show and connect dynamic data with forms and custom fields effortlessly on WordPress.

1.2k1.8k1](/packages/rilwis-meta-box)[typo3/cms-form

TYPO3 CMS Form - Flexible TYPO3 frontend form framework that comes with a backend editor interface.

147.1M185](/packages/typo3-cms-form)

PHPackages © 2026

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