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

ActiveLibrary

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

Laravel Service Repository Design Pattern Scaffolding.

v1.0.2(5y ago)056MITPHP

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 1mo ago

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 43% 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

1999d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f3f6c1f61f2ebdb54b4b27681c3242ff3a13ce0310284f556c8d7f325c6ce92?d=identicon)[morshadunnur](/maintainers/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

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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