Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whizark/php-patterns

A minimal and conceptual PHP 5.4+ pattern collection that *will* cover design patterns (not only GoF's), anti-patterns, closure patterns, refactoring patterns
https://github.com/whizark/php-patterns

design-pattern design-patterns php

Last synced: about 1 month ago
JSON representation

A minimal and conceptual PHP 5.4+ pattern collection that *will* cover design patterns (not only GoF's), anti-patterns, closure patterns, refactoring patterns

Awesome Lists containing this project

README

        

PHP Patterns
============

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

[![Build Status](https://travis-ci.org/whizark/php-patterns.png?branch=master)](https://travis-ci.org/whizark/php-patterns) [![Coverage Status](https://coveralls.io/repos/whizark/php-patterns/badge.png)](https://coveralls.io/r/whizark/php-patterns) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/whizark/php-patterns/badges/quality-score.png?s=32a95feb6ea708c584efcbdbdd9000908ce9845b)](https://scrutinizer-ci.com/g/whizark/php-patterns/)

The Concepts
------------

* **Minimal and Conceptual** (useful as a pattern catalog)
* **Practical and Modern** (following [PSR-2](http://www.php-fig.org/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.)