Skip to content

PHP Patterns

Whizark edited this page Aug 21, 2013 · 10 revisions

PHP Patterns

A PHP 5.4+ pattern collection that will cover design patterns, anti-patterns, closure patterns, refactoring patterns.

Build Status Coverage Status Scrutinizer Quality Score

(This project is just a pattern catalog. To learn the patterns themselves, it would be better to refer to other resources.)

The Concepts

  • Minimal and Conceptual (useful as a pattern catalog)
  • Practical and Modern (following PSR-2 as possible etc.)
  • PHP-specific (with built-in features and SPL etc.)
  • Interface-oriented (but as simple as possible)
  • Testable (including test cases as examples)

(Since focusing on the core concept of each pattern, some patterns might not be the same as the originals.)

List of Patterns

Clone this wiki locally