3 dépôts
Reference implementations of structural design patterns specifically tailored for the PHP language.
Distinct from Production PHP Implementations: Candidates focus on framework implementations or Bitcoin libraries rather than general structural patterns in PHP.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · PHP Structural Patterns. Refine with filters or upvote what's useful.
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.
Organizes classes and objects into complex components to ensure a flexible and scalable PHP system.
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
Implements structural design patterns specifically tailored for PHP to improve system efficiency.
PHP-Parser is a tool that converts PHP source code into an abstract syntax tree for static analysis and programmatic manipulation. It functions as a parser, a code generator, and a static analysis framework. The project enables the programmatic construction of abstract syntax tree nodes through a fluent interface and provides the ability to transform these trees back into formatted source code. It includes a serializer that exports abstract syntax trees to JSON format and reconstructs them from strings. The toolset covers several capability areas, including namespace resolution, constant exp
Automates structural changes by searching and replacing specific patterns within the PHP AST.