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

ActiveProject

carousel/php-design-patterns
============================

PHP design patterns adopted from https://sourcemaking.com

06PHP

Since Aug 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/carousel/php-design-patterns)[ Packagist](https://packagist.org/packages/carousel/php-design-patterns)[ RSS](/packages/carousel-php-design-patterns/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/93deaac24f556b1709e862609d9ceedc141f6df964cded6dd25ecf0f82cabf36/68747470733a2f2f7472617669732d63692e6f72672f6361726f7573656c2f7068702d64657369676e2d7061747465726e732e737667)](https://travis-ci.org/carousel/php-design-patterns)

Collection of OOP design patterns,implemented in PHP.
-----------------------------------------------------

[](#collection-of-oop-design-patternsimplemented-in-php)

To add
======

[](#to-add)

PEAA
----

[](#peaa)

```
domain model
service

active record
data mapper

unit of work
lazy loading

embedded value

repository

mvc
front controller,page controller

dto,dao,popo
vo/money
cqrs
hexagon
collection
delegation
null object
DI
aggregate

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/28708cbfd84676f03d692270386152b5e7287ef08e4b88b93c7ae0e6373fc859?d=identicon)[miro](/maintainers/miro)

---

Top Contributors

[![carousel](https://avatars.githubusercontent.com/u/1110741?v=4)](https://github.com/carousel "carousel (77 commits)")

### Embed Badge

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

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

PHPackages © 2026

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