awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
domnikl avatar

domnikl/DesignPatternsPHP

0
View on GitHub↗
22,188 星标·4,522 分支·PHP·MIT·2 次浏览

DesignPatternsPHP

DesignPatternsPHP is a reference collection of software architecture patterns implemented in PHP 8. It provides a guide for object-oriented programming through sample code demonstrating creational, structural, and behavioral design patterns.

The project includes reference implementations for common patterns such as factories, builders, singletons, adapters, bridges, and proxies. Each implementation is accompanied by a PHPUnit test suite to verify that the patterns behave correctly and produce expected logical outcomes.

The codebase covers a broad range of architecture capabilities, including the decoupling of object creation, the organization of classes into larger systems, and the management of communication between objects.

Features

  • Design Pattern Collections - Offers a comprehensive collection of reference implementations for creational, structural, and behavioral design patterns.
  • PHP Design Pattern Implementations - Provides a comprehensive collection of standard software architecture patterns implemented in PHP 8.
  • Software Architecture Guides - Serves as a practical guide for decoupling object creation and communication through standardized patterns.
  • PHP Behavioral Patterns - Provides behavioral design pattern implementations specifically tailored for the PHP 8 language.
  • PHP Creational Patterns - Implements creational design patterns in PHP to decouple object creation through factories and builders.
  • PHP Structural Patterns - Implements structural design patterns specifically tailored for PHP to improve system efficiency.
  • Adapter Patterns - Implements adapter patterns to wrap incompatible classes and translate interfaces without modifying source code.
  • Object-Oriented Programming - Provides practical code examples demonstrating the application of object-oriented programming paradigms in PHP.
  • Behavioral Design Patterns - Implements behavioral design patterns that distribute responsibilities and manage communication between objects.
  • Creational Design Patterns - Implements creational design patterns including factories, builders, and singletons for flexible object instantiation.
  • Factory Method Patterns - Provides reference implementations for factory method patterns to encapsulate object instantiation logic.
  • Decoupling Patterns - Uses PHP interfaces to separate high-level design contracts from concrete class implementations.
  • Design Pattern Implementations - Offers isolated, reusable code examples demonstrating the implementation of various structural and behavioral design patterns.
  • Object Composition Patterns - Implements object composition patterns that favor nesting objects over class inheritance to reduce coupling.
  • Observer Patterns - Implements observer patterns to maintain lists of dependents that are notified of state changes through a communication interface.
  • Structural Design Patterns - Implements structural design patterns like adapters, bridges, and proxies to organize classes into larger systems.
  • Pattern Test Suites - Provides a dedicated PHPUnit test suite to ensure the logical correctness of all implemented patterns.
  • Pattern Behavior Verification - Provides a PHPUnit test suite to validate that each design pattern implementation produces the expected logical outcomes.
  • Architecture Verification Suites - Uses PHPUnit tests to verify that specific design pattern implementations in PHP behave correctly.
  • Pattern Verifications - Includes automated tests to verify that each design pattern implementation behaves as expected.
  • Design Patterns - Provides code examples and implementations for standard design patterns in PHP.
  • Programming Language Patterns - PHP implementations of common design patterns.

Star 历史

domnikl/designpatternsphp 的 Star 历史图表domnikl/designpatternsphp 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

DesignPatternsPHP 的开源替代方案

相似的开源项目,按与 DesignPatternsPHP 的功能重合度排序。
  • faif/python-patternsfaif 的头像

    faif/python-patterns

    42,801在 GitHub 上查看↗

    This project is a comprehensive collection of software design patterns implemented in Python. It serves as a reference for architectural, behavioral, creational, and structural patterns to guide the organization of Python applications. The collection covers behavioral strategies for managing object communication and state, creational techniques for controlling object instantiation, and structural methods for composing classes and objects into flexible hierarchies. It also includes architectural references for system-wide structuring, such as multi-tier architectures and blackboard models. Th

    Pythondesign-patternsidiomspython
    在 GitHub 上查看↗42,801
  • designpatternsphp/designpatternsphpDesignPatternsPHP 的头像

    DesignPatternsPHP/DesignPatternsPHP

    22,188在 GitHub 上查看↗

    DesignPatternsPHP is a reference collection of sample code implementations for common software design patterns using PHP 8.x. It provides a set of examples for implementing creational, structural, and behavioral patterns to organize object-oriented design. The project includes reference implementations for creational patterns that decouple systems from object instantiation, structural patterns that define how classes organize into complex components, and behavioral patterns that manage algorithms and responsibilities between objects.

    PHPcode-examplesdesign-patterndesign-patterns
    在 GitHub 上查看↗22,188
  • youlookwhat/designpatternyoulookwhat 的头像

    youlookwhat/DesignPattern

    5,115在 GitHub 上查看↗

    This project is a comprehensive library of twenty-three standard software design patterns implemented in Java. It serves as an educational resource that maps theoretical architectural concepts to practical object-oriented code. The library organizes these patterns into three primary categories: creational patterns for managing object instantiation, structural patterns for organizing class and object relationships, and behavioral patterns for coordinating communication and responsibility between objects. The implementation provides concrete class examples for a wide range of industry-standard

    Javadesignpatterndesignpatternsjava
    在 GitHub 上查看↗5,115
  • dbacinski/design-patterns-in-kotlindbacinski 的头像

    dbacinski/Design-Patterns-In-Kotlin

    5,998在 GitHub 上查看↗

    This project is a reference collection of practical examples demonstrating the implementation of common software design patterns in Kotlin. It serves as a guide to architectural best practices and object-oriented principles through the application of behavioral, creational, and structural patterns. The collection provides concrete implementations to demonstrate how to decouple object instantiation, manage communication and responsibility between objects, and organize complex class and object relationships. The reference covers creational patterns such as factories and builders, structural pa

    Kotlin
    在 GitHub 上查看↗5,998
查看 DesignPatternsPHP 的所有 30 个替代方案→

常见问题解答

domnikl/designpatternsphp 是做什么的?

DesignPatternsPHP is a reference collection of software architecture patterns implemented in PHP 8. It provides a guide for object-oriented programming through sample code demonstrating creational, structural, and behavioral design patterns.

domnikl/designpatternsphp 的主要功能有哪些?

domnikl/designpatternsphp 的主要功能包括:Design Pattern Collections, PHP Design Pattern Implementations, Software Architecture Guides, PHP Behavioral Patterns, PHP Creational Patterns, PHP Structural Patterns, Adapter Patterns, Object-Oriented Programming。

domnikl/designpatternsphp 有哪些开源替代品?

domnikl/designpatternsphp 的开源替代品包括: faif/python-patterns — This project is a comprehensive collection of software design patterns implemented in Python. It serves as a reference… designpatternsphp/designpatternsphp — DesignPatternsPHP is a reference collection of sample code implementations for common software design patterns using… youlookwhat/designpattern — This project is a comprehensive library of twenty-three standard software design patterns implemented in Java. It… dbacinski/design-patterns-in-kotlin — This project is a reference collection of practical examples demonstrating the implementation of common software… sohamkamani/javascript-design-patterns-for-humans — This project is a collection of simplified explanations and code implementations for common software design patterns… tcorral/design-patterns-in-javascript — This repository serves as a reference for implementing standard software design patterns within JavaScript…