{"id":41214966,"url":"https://github.com/phore/phore-annotations","last_synced_at":"2026-01-22T23:58:44.687Z","repository":{"id":57039164,"uuid":"75291694","full_name":"phore/phore-annotations","owner":"phore","description":"Wrapper for Doctrine Annotaions","archived":false,"fork":false,"pushed_at":"2016-12-01T12:58:02.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T19:39:28.734Z","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/phore.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}},"created_at":"2016-12-01T12:44:40.000Z","updated_at":"2016-12-01T12:55:57.000Z","dependencies_parsed_at":"2022-08-23T23:31:03.644Z","dependency_job_id":null,"html_url":"https://github.com/phore/phore-annotations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phore/phore-annotations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phore%2Fphore-annotations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phore%2Fphore-annotations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phore%2Fphore-annotations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phore%2Fphore-annotations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phore","download_url":"https://codeload.github.com/phore/phore-annotations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phore%2Fphore-annotations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28675279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-22T23:58:44.145Z","updated_at":"2026-01-22T23:58:44.675Z","avatar_url":"https://github.com/phore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phore-annotations\nWrapper for Doctrine Annotaions\n\n\n## Create a AnnotationPack\n\n```\nclass AnnotationPack_Application implements GoAnnotationPack {\n\n\n        /**\n         * Return a Array of Annotation Classnames to be loaded\n         *\n         * @return string[]\n         */\n        public function getAnnotationClassNames() {\n            return [\n                Action::class,\n                AllowAll::class,\n                Api::class,\n                Filter::class,\n                Mount::class,\n                Parameter::class,\n                Requires::class,\n                Route::class,\n                ContextInit::class\n            ];\n        }\n    }\n\n\n```\n\n## Register the Pack\n\n```\nAnnotations::Register(AnnotationPack_Application::class);\n```\n\n## Access the Annotations\n\n```\nAnnotations::ForClass(SomeClass::class);\nAnnotations::ForMethod(SomeClass::class, \"methodName\");\nAnnotations::ForProperty(SomeClass::class, \"propertyName\");\n```\n\nThe Annotations returned are Doctrine Annotations\n[http://doctrine-project.com]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphore%2Fphore-annotations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphore%2Fphore-annotations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphore%2Fphore-annotations/lists"}