{"id":28662623,"url":"https://github.com/php-stubs/genesis-stubs","last_synced_at":"2025-07-23T18:37:18.209Z","repository":{"id":57040017,"uuid":"385903618","full_name":"php-stubs/genesis-stubs","owner":"php-stubs","description":"Genesis Framework function stubs for static analysis.","archived":false,"fork":false,"pushed_at":"2024-10-18T09:25:57.000Z","size":99,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T16:33:39.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://studiopress.github.io/genesis/changelog/","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/php-stubs.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},"funding":{"github":["php-stubs"]}},"created_at":"2021-07-14T10:39:50.000Z","updated_at":"2024-10-18T09:25:09.000Z","dependencies_parsed_at":"2024-11-27T08:18:26.542Z","dependency_job_id":null,"html_url":"https://github.com/php-stubs/genesis-stubs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/php-stubs/genesis-stubs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-stubs%2Fgenesis-stubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-stubs%2Fgenesis-stubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-stubs%2Fgenesis-stubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-stubs%2Fgenesis-stubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-stubs","download_url":"https://codeload.github.com/php-stubs/genesis-stubs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-stubs%2Fgenesis-stubs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259634489,"owners_count":22887711,"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-06-13T11:12:19.513Z","updated_at":"2025-06-13T11:12:22.573Z","avatar_url":"https://github.com/php-stubs.png","language":"PHP","funding_links":["https://github.com/sponsors/php-stubs"],"categories":[],"sub_categories":[],"readme":"# Genesis Stubs\n\n[![Build Status](https://travis-ci.com/php-stubs/genesis-stubs.svg?branch=master)](https://travis-ci.com/php-stubs/genesis-stubs)\n\nThis package provides stub declarations for [Genesis framework](https://www.studiopress.com/get-genesis/)\nfunctions, classes and interfaces.\nThese stubs can help plugin and theme developers leverage static analysis tools\nlike [PHPStan](https://github.com/phpstan/phpstan),\nwhich is not able to parse genesis as it is not clean OOP code.\n\nStubs are generated directly from the latest Genesis version that is required to be downloaded manually as it is blocked by a form.\nusing [giacocorsiglia/stubs-generator](https://github.com/GiacoCorsiglia/php-stubs-generator).\n\n### Requirements\n\n- PHP \u003e=7.1\n\n### Installation\n\nRequire this package as a development dependency with [Composer](https://getcomposer.org).\n\n```bash\ncomposer require --dev php-stubs/genesis-stubs\n```\n\nAlternatively you may download `genesis-stubs.php` directly.\n\n### Usage in PHPStan\n\nInclude all stubs in PHPStan configuration file.\n\n```yaml\nparameters:\n    bootstrapFiles:\n        - %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php\n        - %rootDir%/../../php-stubs/genesis-stubs/genesis-stubs.php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-stubs%2Fgenesis-stubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-stubs%2Fgenesis-stubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-stubs%2Fgenesis-stubs/lists"}