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: 2 months 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
- Host: GitHub
- URL: https://github.com/whizark/php-patterns
- Owner: whizark
- License: mit
- Created: 2013-06-04T12:01:23.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-16T01:35:35.000Z (almost 12 years ago)
- Last Synced: 2025-04-06T11:24:38.332Z (3 months ago)
- Topics: design-pattern, design-patterns, php
- Language: PHP
- Homepage: https://github.com/whizark/php-patterns/wiki/PHP-Patterns
- Size: 545 KB
- Stars: 145
- Watchers: 12
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PHP Patterns
============A PHP 5.4+ pattern collection that covers design patterns, anti-patterns, closure patterns, refactoring patterns.
[](https://travis-ci.org/whizark/php-patterns) [](https://coveralls.io/r/whizark/php-patterns) [](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.)