{"id":18249912,"url":"https://github.com/phan/phpsignatures","last_synced_at":"2025-04-04T16:30:56.134Z","repository":{"id":66261052,"uuid":"141941145","full_name":"phan/PHPSignatures","owner":"phan","description":"This contains function, method, and property signatures with extra details for PHP functions, methods, and properties.","archived":false,"fork":false,"pushed_at":"2020-06-17T13:44:46.000Z","size":540,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-20T15:11:56.568Z","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/phan.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":"2018-07-23T00:14:27.000Z","updated_at":"2021-07-10T12:51:57.000Z","dependencies_parsed_at":"2023-03-13T20:30:16.022Z","dependency_job_id":null,"html_url":"https://github.com/phan/PHPSignatures","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phan%2FPHPSignatures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phan%2FPHPSignatures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phan%2FPHPSignatures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phan%2FPHPSignatures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phan","download_url":"https://codeload.github.com/phan/PHPSignatures/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247209266,"owners_count":20901736,"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-05T09:41:50.932Z","updated_at":"2025-04-04T16:30:56.128Z","avatar_url":"https://github.com/phan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PHPSignatures\n=============\n\nOverview\n--------\n\nThis contain signatures **with extra details** for PHP functions, methods, and properties.\nThese were initially part of [Phan](https://github.com/phan/phan), but have been forked in various static analysis tools (Psalm, PHPStan, etc).\nThese differ from other signatures in different ways\n\n- These signatures also include types where the function/method call would be likely to fail (e.g. runtime errors)\n\n  This differs from repos such as PHPStorm's stubs, which only contain enough information for autocompletion.\n- These contain the nullable type syntax `?T`\n- These also contain non-standard generic arrays (such as `array\u003cint,T\u003e`) and array shapes (such as `array{keyName:T}`)\n\n  Details about the signatures are documented in more detail in [FunctionSignatureMap.php](./FunctionSignatureMap.php).\n\nThese signatures were obtained from a wide variety of sources (such as the C source code of PHP, the SVN sources of the php.net documentation, external documentation of third party PHP modules, PHPStorm stubs, bug reports, etc.)\n\nThere are minor differences in how these projects use these signatures (such as error handling and type strictness).\nThis repo was created as to make synchronizing fixes to these signatures easier.\n\n- Changes may be cherry-picked (or merged) for forks of this, possibly with edits.\n\nLayout\n------\n\nFunctionSignatureMap tracks the function and method signatures of the most recent stable PHP release.\n\n- Delta files can be applied to obtain the function and method signatures of older releases.\n\nDynamicPropertyMap.php contains a set of classes of PHP modules known to have dynamic properties.\n\nPropertyMap.php tracks the union types of properties of known classes of PHP modules.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphan%2Fphpsignatures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphan%2Fphpsignatures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphan%2Fphpsignatures/lists"}