{"id":18458313,"url":"https://github.com/crazyfactory/php-docblocks","last_synced_at":"2025-04-23T12:23:54.522Z","repository":{"id":56958816,"uuid":"92891819","full_name":"crazyfactory/php-docblocks","owner":"crazyfactory","description":null,"archived":false,"fork":false,"pushed_at":"2017-08-18T10:20:58.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T15:29:28.088Z","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/crazyfactory.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":"2017-05-31T01:32:55.000Z","updated_at":"2017-05-31T09:19:31.000Z","dependencies_parsed_at":"2022-08-21T09:50:22.686Z","dependency_job_id":null,"html_url":"https://github.com/crazyfactory/php-docblocks","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fphp-docblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fphp-docblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fphp-docblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fphp-docblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazyfactory","download_url":"https://codeload.github.com/crazyfactory/php-docblocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250431660,"owners_count":21429528,"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-11-06T08:17:49.830Z","updated_at":"2025-04-23T12:23:54.504Z","avatar_url":"https://github.com/crazyfactory.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"php-docblocks\n=======\n\nParses php doc blocks and makes them easily accessible.\n\nThis is based on using reflection and results should be heavily cached or only be used in processes which aren't time critical.\n\n## Install\n\nRun `composer require crazyfactory/docblocks` to install the latest version into your composer powered project.\n\n## Usage\n\nYou can pass in any doc-block formatted string into the constructor of *DocBlock* to have it parsed.\n\n```php\n$dc = new DocBlock('/** myDocBlockString */');\n```\n\nOr you can pass in any Reflection object offering *getDocComment()* like *ReflectionMethod*, *ReflectionClass* etc.\n\n```php\n$dc = new DocBlock(new \\ReflectionClass(MyClass::class));\n```\n\nIf you only care for the results in form of simple DocBlockParameter-array you can use the parser directly.\n\n```php\n$results = DocBlock::parse($myDocBlockString);\n```\n\n## Changelog\n- 2.0.0 added auto-deploy via travis CI with githubtags as version-nr.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fphp-docblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazyfactory%2Fphp-docblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fphp-docblocks/lists"}