PHPackages                             mindwingx/dpas - 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. mindwingx/dpas

ActiveLibrary

mindwingx/dpas
==============

Design Patterns As Service

v1.0.0(3y ago)24MITPHP

Since Sep 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mindwingx/dpas)[ Packagist](https://packagist.org/packages/mindwingx/dpas)[ Docs](https://github.com/mindwingx/dpas)[ RSS](/packages/mindwingx-dpas/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

LARAVEL DPAS
============

[](#laravel-dpas)

Design Pattern As Service
-------------------------

[](#design-pattern-as-service)

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

[](#installation)

Via Composer

```
$ composer require mindwingx/dpas --dev
```

### Usage

[](#usage)

Assume that you know all about design patterns, You can implement design patterns skeleton as a service and serve it as a custom service provider.

#### Supported patterns:

[](#supported-patterns)

- Builder
- Factory
- Adapter
- Composite
- Decorator
- Proxy
- Chain of Responsibility
- Strategy

### Commands

[](#commands)

- Create new service

```
php artisan dpas:new
```

- Add eloquent model to service classes

```
php artisan dpas:new  -m=
```

- Customize base path name of service(default path is 'Service')

```
php artisan dpas:new  -p=
```

### Security

[](#security)

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

### Credits

[](#credits)

- [Milad Roudgarian](https://github.com/mindwingx)

### License

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1352d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6de19f69954be41a43138bbc09937184e2428f49666237174414bcfb874d816?d=identicon)[mindwingx](/maintainers/mindwingx)

---

Top Contributors

[![mindwingx](https://avatars.githubusercontent.com/u/40317952?v=4)](https://github.com/mindwingx "mindwingx (1 commits)")

---

Tags

laraveldesign patternsDpas

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mindwingx-dpas/health.svg)

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

###  Alternatives

[slowlyo/owl-admin

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

61214.2k26](/packages/slowlyo-owl-admin)[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)[imanghafoori/laravel-decorator

A package to easily decorate your function calls.

13913.0k](/packages/imanghafoori-laravel-decorator)[glhd/linen

21135.6k](/packages/glhd-linen)

PHPackages © 2026

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