{"id":23265536,"url":"https://github.com/shahnotes/php-design-patterns","last_synced_at":"2025-07-31T15:41:35.975Z","repository":{"id":240751297,"uuid":"193142976","full_name":"shahnotes/php-design-patterns","owner":"shahnotes","description":"Design patterns and software principles implemented on PHP","archived":false,"fork":false,"pushed_at":"2019-09-23T18:13:14.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-12T12:56:32.389Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shahnotes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-06-21T18:24:10.000Z","updated_at":"2019-12-02T15:10:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"4afae589-93af-4296-a99a-1aabdb230953","html_url":"https://github.com/shahnotes/php-design-patterns","commit_stats":null,"previous_names":["shahnotes/php-design-patterns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahnotes%2Fphp-design-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahnotes%2Fphp-design-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahnotes%2Fphp-design-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahnotes%2Fphp-design-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shahnotes","download_url":"https://codeload.github.com/shahnotes/php-design-patterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247449683,"owners_count":20940774,"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":[],"created_at":"2024-12-19T15:30:16.581Z","updated_at":"2025-04-06T07:31:49.248Z","avatar_url":"https://github.com/shahnotes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Design patterns and principles\n\n## Design patterns\n\n### Behavioural Design Patterns\n\n1. Chain of responsibility\n2. Command\n3. Interpreter\n4. Iterator\n5. Mediator\n6. Memento\n7. Null object\n8. Observer\n9. State\n10. Strategy\n11. Template method\n12. Visitor\n\n### Creational Design Patterns\n\n1. Singleton\n2. Prototype\n3. Factory\n4. Abstract Factory\n5. Builder\n6. Object Pool\n\n### Structural Design Patterns\n\n1. Adapter\n2. Bridge\n3. Composite\n4. Decorator\n5. Facade\n6. Flyweight\n7. Private class data\n8. Proxy\n\n## Principles\n\n### SOLID Principles\n\n1. S : **`Single responsibility principle`**\n2. O : **`Open-closed principle`**\n3. L : **`Liskov substitution principle`**\n4. I : **`Interface segregation principle`**\n5. D : **`Dependency inversion principle`**\n\n### KISS Principle\n\n1. KISS : **`Keep it simple stupid`**\n\n### DRY Principle\n\n1. DRY : **`Do not repeat yourself`**\n\n### TDA Principle\n\n1. TDA : **`Tell dont't ask`**\n\n### SoC Principle\n\n1. SoC : **`Separation of concerns`**\n\n### YAGNI Principle\n\n1. YAGNI : **`You ain't gonna need it`**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahnotes%2Fphp-design-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahnotes%2Fphp-design-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahnotes%2Fphp-design-patterns/lists"}