PHPackages                             rickwong/phur - 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. [Framework](/categories/framework)
4. /
5. rickwong/phur

ActiveLibrary[Framework](/categories/framework)

rickwong/phur
=============

Phur - PHP Software Design Patterns framework

269[1 PRs](https://github.com/RickWong/Phur/pulls)PHP

Since Oct 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/RickWong/Phur)[ Packagist](https://packagist.org/packages/rickwong/phur)[ RSS](/packages/rickwong-phur/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Phur — PHP Software Design Patterns framework
---------------------------------------------

[](#phur--php-software-design-patterns-framework)

Phur is a framework for Software Design Patterns, written in PHP 5.3. Phur (Phur: helps u refactor) supplies a framework of flexible &amp; ready-to-use OOP patterns, so you can write loosely-coupled class structures for your business logic and algorithms. Phur is absolutely NOT an MVC framework, although Phur can definitely be used within/with other frameworks. Extend and implement each of the patterns as you need. Phur prefers composition over inheritance, so it makes heavy use of interfaces.

[![Build Status](https://camo.githubusercontent.com/30f3f1ed2a52586c54cf9df8f06426be56a439d6f8855fdce51aa37fd3754eca/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f5269636b576f6e672f506875722e706e67)](https://travis-ci.org/RickWong/Phur)

Currently implemented:

- Abstract Factory
- Builder
- Chain of Responsibility
- Composite
- Proxy
- Finite State Machine
- Strategy
- Validation rule sets

More design patterns &amp; documentation coming soon in the first official release.

### Installation via Composer

[](#installation-via-composer)

```
composer require rickwong/phur dev-master

```

### License and copyright

[](#license-and-copyright)

Licensed under the BSD (Berkeley Software Distribution) License. Copyright (c) 2012, Rick Wong. All rights reserved.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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/2bad0a242b286e1ee7eb94661172d7b7449fcf785ce944f203a7693f362672fa?d=identicon)[RickWong](/maintainers/RickWong)

---

Top Contributors

[![RickWong](https://avatars.githubusercontent.com/u/40102?v=4)](https://github.com/RickWong "RickWong (64 commits)")

### Embed Badge

![Health badge](/badges/rickwong-phur/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M829](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[pinguo/php-msf

Pinguo Micro Service Framework For PHP

1.7k4.2k](/packages/pinguo-php-msf)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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