PHPackages                             morshadun/repositorypattern - 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. morshadun/repositorypattern

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

morshadun/repositorypattern
===========================

Laravel Service Repository Design Pattern Scaffolding.

v1.0.2(5y ago)056MITPHPCI failing

Since Jan 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/morshadunnur/repository-pattern)[ Packagist](https://packagist.org/packages/morshadun/repositorypattern)[ Docs](https://github.com/morshadunnur)[ RSS](/packages/morshadun-repositorypattern/feed)WikiDiscussions master Synced today

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

RepositoryPattern
=================

[](#repositorypattern)

[![Latest Version on Packagist](https://camo.githubusercontent.com/601694bd967a1e20fdda3af57682abc7913266026f70ac8db7cda20d1eb94168/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f7273686164756e2f7265706f7369746f72797061747465726e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/morshadunnur/repositorypattern)[![Total Downloads](https://camo.githubusercontent.com/dbb25915da2e0e5e9f8ae45abf2dc56a3d360fc9d05503db99095056e45004ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f7273686164756e2f7265706f7369746f72797061747465726e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/morshadunnur/repositorypattern)[![Build Status](https://camo.githubusercontent.com/d8e00d95486579500be46f9941c01438b25a643064c56bf8c6de7359512c07f8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d6f7273686164756e2f7265706f7369746f72797061747465726e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/morshadun/repositorypattern)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require morshadun/repositorypattern
```

Usage
-----

[](#usage)

Via PHP Artisan

```
$ php artisan morshadun:controller
```

This command will create files into app directory with related folders.

#### For Controller

[](#for-controller)

- App\\Http\\Controllers

#### For Repositories

[](#for-repositories)

- App\\Repositories

#### For Services

[](#for-services)

- App\\Services

#### For Transformers

[](#for-transformers)

- App\\Transformers

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit --filter new_controller_is_created
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [author name](https://github.com/morshadunnur)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

3

Last Release

2053d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11367467?v=4)[Md. Morshadun Nur](/maintainers/morshadunnur)[@morshadunnur](https://github.com/morshadunnur)

---

Top Contributors

[![morshadunnur](https://avatars.githubusercontent.com/u/11367467?v=4)](https://github.com/morshadunnur "morshadunnur (10 commits)")

---

Tags

laravelRepositoryPattern

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/morshadun-repositorypattern/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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