{"id":15014432,"url":"https://github.com/pavelloparev/design-patterns","last_synced_at":"2025-06-15T19:05:43.079Z","repository":{"id":201765529,"uuid":"83979409","full_name":"PavelLoparev/design-patterns","owner":"PavelLoparev","description":"Contains examples of design patterns that implemented in php","archived":false,"fork":false,"pushed_at":"2017-03-20T19:38:00.000Z","size":72,"stargazers_count":378,"open_issues_count":1,"forks_count":21,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-02T19:09:15.577Z","etag":null,"topics":["design-pattern","design-patterns","examples","oop","php","phpunit"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PavelLoparev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-03-05T15:12:14.000Z","updated_at":"2025-02-28T22:42:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb65ea03-f8b8-429c-b216-792321127029","html_url":"https://github.com/PavelLoparev/design-patterns","commit_stats":null,"previous_names":["pavelloparev/design-patterns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PavelLoparev%2Fdesign-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PavelLoparev%2Fdesign-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PavelLoparev%2Fdesign-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PavelLoparev%2Fdesign-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PavelLoparev","download_url":"https://codeload.github.com/PavelLoparev/design-patterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248113150,"owners_count":21049792,"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":["design-pattern","design-patterns","examples","oop","php","phpunit"],"created_at":"2024-09-24T19:45:37.697Z","updated_at":"2025-04-09T21:23:37.225Z","avatar_url":"https://github.com/PavelLoparev.png","language":"PHP","readme":"[![Build Status](https://travis-ci.org/PavelLoparev/design-patterns.svg?branch=master)](https://travis-ci.org/PavelLoparev/design-patterns)\n\n# Design Patterns\nRepository contains a list of design patterns implemented in php. All examples was given from [\"Design Patterns\"](http://shop.oreilly.com/product/9780596007126.do) book.\n\n# Creational\n  * [Abstract factory](https://github.com/PavelLoparev/design-patterns/tree/master/src/AbstractFactory)\n  * [Factory method](https://github.com/PavelLoparev/design-patterns/tree/master/src/FactoryMethod)\n  * [Factory](https://github.com/PavelLoparev/design-patterns/tree/master/src/Factory)\n  * [Singleton](https://github.com/PavelLoparev/design-patterns/tree/master/src/Singleton)\n\n# Structural\n  * [Adapter](https://github.com/PavelLoparev/design-patterns/tree/master/src/Adapter)\n  * [Composite](https://github.com/PavelLoparev/design-patterns/tree/master/src/Composite)\n  * [Decorator](https://github.com/PavelLoparev/design-patterns/tree/master/src/Decorator)\n  * [Facade](https://github.com/PavelLoparev/design-patterns/tree/master/src/Facade)\n\n# Behavioral\n  * [Command](https://github.com/PavelLoparev/design-patterns/tree/master/src/Command)\n  * [Iterator](https://github.com/PavelLoparev/design-patterns/tree/master/src/Iterator)\n  * [Observer](https://github.com/PavelLoparev/design-patterns/tree/master/src/Observer)\n  * [Strategy](https://github.com/PavelLoparev/design-patterns/tree/master/src/Strategy)\n  * [Template method](https://github.com/PavelLoparev/design-patterns/tree/master/src/TemplateMethod)\n\n# Tests\n`$ composer install`\n\n`$ ./vendor/bin/phpunit`\n\n# License\nGPLv3. See LICENSE file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavelloparev%2Fdesign-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavelloparev%2Fdesign-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavelloparev%2Fdesign-patterns/lists"}