{"id":17277779,"url":"https://github.com/sassman/edu-pattern-catalog-php","last_synced_at":"2025-06-15T17:40:27.752Z","repository":{"id":137877805,"uuid":"102885903","full_name":"sassman/edu-pattern-catalog-php","owner":"sassman","description":"providing some useful design patterns with some small use case illustrations mostly for education.","archived":false,"fork":false,"pushed_at":"2017-10-17T15:00:07.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T14:19:34.992Z","etag":null,"topics":["command-pattern","decorator-pattern","design-patterns","education","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sassman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-08T17:12:29.000Z","updated_at":"2019-08-24T18:04:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"24211a28-5abc-45df-8809-5c78b34783f7","html_url":"https://github.com/sassman/edu-pattern-catalog-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sassman/edu-pattern-catalog-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fedu-pattern-catalog-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fedu-pattern-catalog-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fedu-pattern-catalog-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fedu-pattern-catalog-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sassman","download_url":"https://codeload.github.com/sassman/edu-pattern-catalog-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassman%2Fedu-pattern-catalog-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260023332,"owners_count":22947363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-pattern","decorator-pattern","design-patterns","education","php"],"created_at":"2024-10-15T09:09:56.201Z","updated_at":"2025-06-15T17:40:27.728Z","avatar_url":"https://github.com/sassman.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Design Pattern Catalog\n======================\n\n[![Build Status](https://travis-ci.org/sassman/pattern-catalog-php.svg?branch=master)](https://travis-ci.org/sassman/pattern-catalog-php)\n[![Code Climate](https://codeclimate.com/github/sassman/pattern-catalog-php/badges/gpa.svg)](https://codeclimate.com/github/sassman/pattern-catalog-php)\n[![Test Coverage](https://codeclimate.com/github/sassman/pattern-catalog-php/badges/coverage.svg)](https://codeclimate.com/github/sassman/pattern-catalog-php/coverage)\n\nPurpose\n-------\n\nThis whole project is educational material. The shown code is not production grade code.\nIt should illustrate the concepts and guide to clean solutions.\n\nDecorator Pattern\n-----------------\n\nIllustrating the Decorator Pattern in the context of String IO. How single units of responsibility can be added to existing\n classes. So that after all a combination of all possibility can be used. \n\nThe problems that are solved are the following\n\n * class explosion for every combination of possibility\n * [more than one responsibility per class](https://www.hanselminutes.com/145/solid-principles-with-uncle-bob-robert-c-martin)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassman%2Fedu-pattern-catalog-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsassman%2Fedu-pattern-catalog-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassman%2Fedu-pattern-catalog-php/lists"}