hyunk3l / php-design-patterns
Just another design patterns collection for PHP
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/hyunk3l/php-design-patterns
Requires
- squizlabs/php_codesniffer: dev-master
Requires (Dev)
- phpunit/phpunit: ^6.0
- dev-master
- 1.0
- dev-codex/php-modernization-pass
- dev-fix-ci
- dev-codex/repo-hardening-evals
- dev-dependabot/github_actions/actions/checkout-6
- dev-dependabot/github_actions/actions/cache-5
- dev-codex/pr-06-docs-maintenance
- dev-codex/pr-04-phpunit13
- dev-codex/pr-03-phpcs4
- dev-codex/pr-02-ci-modernization
- dev-codex/pr-01-composer-hygiene
- dev-codex/pr-05-lock-refresh
- dev-codex/pr-6-docs-cleanup
- dev-codex/pr-5-strict-types
- dev-codex/pr-4-phpunit-13
- dev-codex/pr-3-phpcs-4
- dev-codex/pr-2-composer-tooling
- dev-codex/pr-1-baseline-php-ci
- dev-dependabot/composer/phpunit/phpunit-11.5.50
This package is auto-updated.
Last update: 2026-02-14 22:05:33 UTC
README
Just another collection of design patterns implementations in PHP
Requirements
- PHP 8.4.1+
Setup
- Run
./composer.phar install
Run Tests
- Run
./composer.phar test - Run
./composer.phar test:coverage
Run Coding Standards
- Run
./composer.phar cs - Run
./composer.phar cs:fix
Run Static Analysis
- Run
./composer.phar stan
CI Pipeline (local)
- Run
./composer.phar ci
Contributing
- Create feature branches from
master. - Keep pattern folders mirrored in
src/<Category>/<Pattern>andtest/<Category>/<Pattern>. - Include/maintain
README.mdin each pattern folder. - Run
./composer.phar cibefore opening a PR.
Project Conventions
- See
docs/PATTERN_STRUCTURE.md.
