{"id":20575301,"url":"https://github.com/dimabory/php-objects-patterns-and-practice","last_synced_at":"2026-04-22T04:06:49.487Z","repository":{"id":99869678,"uuid":"148161182","full_name":"dimabory/php-objects-patterns-and-practice","owner":"dimabory","description":"Practice repository while reading Matt Zandstra \"PHP Objects, Patterns and Practice\"","archived":false,"fork":false,"pushed_at":"2019-01-22T14:54:38.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T10:54:55.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dimabory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"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":"2018-09-10T13:39:44.000Z","updated_at":"2019-01-22T14:54:39.000Z","dependencies_parsed_at":"2023-05-10T17:15:30.070Z","dependency_job_id":null,"html_url":"https://github.com/dimabory/php-objects-patterns-and-practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimabory/php-objects-patterns-and-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fphp-objects-patterns-and-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fphp-objects-patterns-and-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fphp-objects-patterns-and-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fphp-objects-patterns-and-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimabory","download_url":"https://codeload.github.com/dimabory/php-objects-patterns-and-practice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimabory%2Fphp-objects-patterns-and-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32120414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-16T05:38:50.760Z","updated_at":"2026-04-22T04:06:49.470Z","avatar_url":"https://github.com/dimabory.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/dimabory/php-objects-patterns-and-practice.svg?branch=master)](https://travis-ci.com/dimabory/php-objects-patterns-and-practice)\n[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat)](https://github.com/phpstan/phpstan)\n\n# PHP Objects, Patterns, and Practice 4th Edition\nhttps://www.amazon.com/gp/product/B00HZEZ9FU/ref=dbs_a_def_rwt_bibl_vppi_i1\n\n## Why?\nExercising yourself!\n\n## Contents\n\n### Chapter 8\nComposition over inheritance (or composite reuse principle)\n\n### Chapter 9\n##### Singleton\n![singleton](resources/singleton.png?raw=true)\n\u003e`THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND MAINTAINABILITY USE DEPENDENCY INJECTION!`\n##### Abstract Factory\n![abstract_factory](resources/abstract_factory.png?raw=true)\n##### Factory Method\n![factory_method](resources/factory_method.png?raw=true)\n##### Prototype\n![prototype](resources/prototype.png?raw=true)\n\n### Chapter 10\n##### Composite\n![composite](resources/composite.png?raw=true)\n\n##### Decorator\n![decorator](resources/decorator.png?raw=true)\n\n##### Facade\n![facade](resources/facade.png?raw=true)\n\n### Chapter 11\n##### Command\n![command](resources/command.png?raw=true)\n\n##### Obseгver\n![observer](resources/observer.png?raw=true)\n\n##### Strategy\n![strategy](resources/strategy.png?raw=true)\n\n##### Visitor\n![visitor](resources/visitor.png?raw=true)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimabory%2Fphp-objects-patterns-and-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimabory%2Fphp-objects-patterns-and-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimabory%2Fphp-objects-patterns-and-practice/lists"}