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

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

hyunk3l/php-design-patterns
===========================

Just another design patterns collection for PHP

1.0(9y ago)441[3 PRs](https://github.com/Hyunk3l/php-design-patterns/pulls)PHPCI passing

Since Mar 2Pushed 1mo agoCompare

[ Source](https://github.com/Hyunk3l/php-design-patterns)[ Packagist](https://packagist.org/packages/hyunk3l/php-design-patterns)[ RSS](/packages/hyunk3l-php-design-patterns/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (9)Used By (0)

[![php-design-patterns](https://cloud.githubusercontent.com/assets/754861/23532839/235b0e82-ffae-11e6-85bd-fd5f10ffc318.png)](https://cloud.githubusercontent.com/assets/754861/23532839/235b0e82-ffae-11e6-85bd-fd5f10ffc318.png)

[![Latest Stable Version](https://camo.githubusercontent.com/3e0c78830536b4712cea90bbc30e079aed7c8aba1cec86b74c0ee6d271601f97/68747470733a2f2f706f7365722e707567782e6f72672f6879756e6b336c2f7068702d64657369676e2d7061747465726e732f762f737461626c65)](https://packagist.org/packages/hyunk3l/php-design-patterns)[![Total Downloads](https://camo.githubusercontent.com/4c179edd406dc5ac20466f26b70282278bc500c830a1402caadd848570a44e3d/68747470733a2f2f706f7365722e707567782e6f72672f6879756e6b336c2f7068702d64657369676e2d7061747465726e732f646f776e6c6f616473)](https://packagist.org/packages/hyunk3l/php-design-patterns)[![License](https://camo.githubusercontent.com/e66da80296828cea8e43c11aa008d9af2629efdfcddfc59b0f88213e4b4113d6/68747470733a2f2f706f7365722e707567782e6f72672f6879756e6b336c2f7068702d64657369676e2d7061747465726e732f6c6963656e7365)](https://packagist.org/packages/hyunk3l/php-design-patterns)

Just another collection of design patterns implementations in PHP
-----------------------------------------------------------------

[](#just-another-collection-of-design-patterns-implementations-in-php)

Requirements
------------

[](#requirements)

- PHP 8.4.1+

Setup
-----

[](#setup)

- Run `./composer.phar install`

Run Tests
---------

[](#run-tests)

- Run `./composer.phar test`
- Run `./composer.phar test:coverage`

Run Coding Standards
--------------------

[](#run-coding-standards)

- Run `./composer.phar cs`
- Run `./composer.phar cs:fix`

Run Static Analysis
-------------------

[](#run-static-analysis)

- Run `./composer.phar stan`

CI Pipeline (local)
-------------------

[](#ci-pipeline-local)

- Run `./composer.phar ci`

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

[](#contributing)

- Create feature branches from `master`.
- Keep pattern folders mirrored in `src//` and `test//`.
- Include/maintain `README.md` in each pattern folder.
- Run `./composer.phar ci` before opening a PR.

Project Conventions
-------------------

[](#project-conventions)

- See `docs/PATTERN_STRUCTURE.md`.

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance60

Regular maintenance activity

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 98.3% 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

3406d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/754861?v=4)[Fabri Di Napoli](/maintainers/Hyunk3l)[@Hyunk3l](https://github.com/Hyunk3l)

---

Top Contributors

[![Hyunk3l](https://avatars.githubusercontent.com/u/754861?v=4)](https://github.com/Hyunk3l "Hyunk3l (114 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

best-practicesdesign-patterndesign-patternsphpphp-examplesphp7

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[humanmade/coding-standards

Human Made Coding Standards

160437.4k57](/packages/humanmade-coding-standards)[mediawiki/mediawiki-codesniffer

MediaWiki CodeSniffer Standards

333.1M395](/packages/mediawiki-mediawiki-codesniffer)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39250.0k28](/packages/ec-europa-toolkit)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20276.8k20](/packages/shopsys-coding-standards)[flyeralarm/php-code-validator

A custom coding standard for FLYERALARM

2227.1k6](/packages/flyeralarm-php-code-validator)

PHPackages © 2026

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