{"id":25456426,"url":"https://github.com/autoframe/design-patterns","last_synced_at":"2025-05-16T18:11:08.467Z","repository":{"id":172558377,"uuid":"649399465","full_name":"autoframe/design-patterns","owner":"autoframe","description":"PHP design patterns used in Autoframe","archived":false,"fork":false,"pushed_at":"2024-04-04T13:17:38.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T08:20:23.381Z","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/autoframe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-06-04T18:10:44.000Z","updated_at":"2023-06-04T21:16:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c040cce-810d-4a9c-983f-33eacaa1c733","html_url":"https://github.com/autoframe/design-patterns","commit_stats":null,"previous_names":["autoframe/design-patterns"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoframe%2Fdesign-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoframe%2Fdesign-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoframe%2Fdesign-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autoframe%2Fdesign-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autoframe","download_url":"https://codeload.github.com/autoframe/design-patterns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"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":"2025-02-18T01:38:32.689Z","updated_at":"2025-05-16T18:11:08.462Z","avatar_url":"https://github.com/autoframe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Autoframe is a low level framework that is oriented on SOLID flexibility\n\n[![Build Status](https://github.com/autoframe/design-patterns/workflows/PHPUnit-tests/badge.svg?branch=main)](https://github.com/autoframe/design-patterns/actions?query=branch:main)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n![Packagist Version](https://img.shields.io/packagist/v/autoframe/design-patterns?label=packagist%20stable)\n[![Downloads](https://img.shields.io/packagist/dm/autoframe/design-patterns.svg)](https://packagist.org/packages/autoframe/design-patterns)\n\n*PHP design patterns*\n\n### Singleton\n- Namespace Autoframe\\DesignPatterns\\Singleton\n\t- abstract class AfrSingletonAbstractClass \n\t\t- implements AfrSingletonInterface\t\n        - \n\t- AfrSingletonTrait provides interface implementation\n\t- Methods:\n\t  - final public getInstance: self\n\t  - public hasInstance: bool\n\t  - final protected __construct: self\n\t  - final public __wakeup: @throws AfrException\n\t  - final public __clone: @throws AfrException\n\n### Array Access Singleton object instance\n- Namespace Autoframe\\DesignPatterns\\SingletonArray\n\t- abstract class AfrSingletonArrAbstractClass\n\t\t- implements AfrSingletonInterface, ArrayAccess, Iterator, Countable\n\t\t- use AfrObjectArrayAccessTrait\n\n### Array Access object instance\n- Namespace Autoframe\\DesignPatterns\\ArrayAccess\n\t- class AfrObjectArrayAccessClass\n\t\t- implements ArrayAccess, Iterator, Countable\n\n\t- AfrObjectArrayAccessTrait implements ArrayAccess, Iterator, Countable\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoframe%2Fdesign-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautoframe%2Fdesign-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoframe%2Fdesign-patterns/lists"}