PHPackages                             celyes/design-patterns - 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. celyes/design-patterns

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

celyes/design-patterns
======================

Design patterns written in PHP

v0.1(5y ago)74163[1 PRs](https://github.com/celyes/php8-design-patterns/pulls)MITPHPPHP &gt;=7.4CI failing

Since Jul 12Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/celyes/php8-design-patterns)[ Packagist](https://packagist.org/packages/celyes/design-patterns)[ RSS](/packages/celyes-design-patterns/feed)WikiDiscussions master Synced 1w ago

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

PHP Design Patterns
===================

[](#php-design-patterns)

The most well-known design patterns written in PHP 8

### Requirements

[](#requirements)

```
PHP: >= 8.0.0

```

### Install &amp; configuration

[](#install--configuration)

install process is done using Composer:

```
composer require celyes/design-patterns
```

install dependencies:

```
composer install
```

You can also fork this repo and clone it.

### Contribution

[](#contribution)

any additions, improvements or modifications are welcome.

### Running tests

[](#running-tests)

```
composer test

# for verbose tests
composer test:verobse
```

### Check code standards

[](#check-code-standards)

```
composer check
```

### Analyzing code

[](#analyzing-code)

```
composer analyse:src
```

### Issues

[](#issues)

Issues can be opened [here](https://github.com/celyes/design-patterns-php/issues)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance53

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

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

2136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9460fbb1bba00b21360d2c455c6a93c981b19d374ba0ec9816ee6fd742eac713?d=identicon)[celyes](/maintainers/celyes)

---

Top Contributors

[![celyes](https://avatars.githubusercontent.com/u/21331907?v=4)](https://github.com/celyes "celyes (93 commits)")

---

Tags

desing-patternspatternsphpphp8php80php81

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/celyes-design-patterns/health.svg)

```
[![Health](https://phpackages.com/badges/celyes-design-patterns/health.svg)](https://phpackages.com/packages/celyes-design-patterns)
```

PHPackages © 2026

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