{"id":16218101,"url":"https://github.com/quasilyte/phpcorpus","last_synced_at":"2025-07-04T06:33:29.923Z","repository":{"id":85823325,"uuid":"330714787","full_name":"quasilyte/phpcorpus","owner":"quasilyte","description":"A collection of various PHP code; useful for PHP tools writers to get some insights on how \"real-world\" PHP code looks like","archived":false,"fork":false,"pushed_at":"2022-03-31T08:25:21.000Z","size":11,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T17:40:28.346Z","etag":null,"topics":["analysis","corpus","data","php","php-corpus"],"latest_commit_sha":null,"homepage":"","language":null,"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/quasilyte.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,"zenodo":null}},"created_at":"2021-01-18T15:50:23.000Z","updated_at":"2022-03-31T08:25:23.000Z","dependencies_parsed_at":"2023-03-13T06:54:07.344Z","dependency_job_id":null,"html_url":"https://github.com/quasilyte/phpcorpus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quasilyte/phpcorpus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Fphpcorpus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Fphpcorpus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Fphpcorpus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Fphpcorpus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quasilyte","download_url":"https://codeload.github.com/quasilyte/phpcorpus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Fphpcorpus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263462702,"owners_count":23470405,"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":["analysis","corpus","data","php","php-corpus"],"created_at":"2024-10-10T11:48:29.571Z","updated_at":"2025-07-04T06:33:29.914Z","avatar_url":"https://github.com/quasilyte.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## PHP corpus\n\nA collection of various PHP code.\n\nUseful for PHP tools writers to get some insights on how \"real-world\" PHP code looks like.\n\n## Installation\n\nTo clone this repository with all contents at once:\n\n```bash\n# This will take a while...\ngit clone --recurse-submodules --depth 1 https://github.com/quasilyte/phpcorpus.git\n```\n\nIf you already cloned phpcorpus without fetching submodules:\n\n```bash\n$ git submodule init\n\n# This will take a while...\n$ git submodule update\n```\n\nAfter this, you'll have all repositories cloned into [submodules/](submodules/), but that doesn't mean that all of them are ready to be executed or analyzer. Depending on your goals, you may need to run `composer install` for the project of interest so it downloads all its dependencies.\n\nIf you only care about the lightweight syntax analysis, downloading dependencies may not be required as it would only make your results worse due to the code duplication in `vendor/` directory (different corpus entries may depend on the same library, so you'll get multiple hits from the same library).\n\n## Corpus contents\n\nOnly git repositories with open sources are included. We don't copy any code, but add repositories\nto the git submodules of this repository.\n\n\u003e All lists are sorted alphabetically.\n\n* Web frameworks:\n  * [github.com/laravel/laravel](https://github.com/laravel/laravel)\n  * [github.com/symfony/symfony](https://github.com/symfony/symfony)\n  * [github.com/yiisoft/yii2](https://github.com/yiisoft/yii2)\n\n* ORM:\n  * [github.com/doctrine/orm](https://github.com/doctrine/orm)\n  * [github.com/propelorm/Propel2](https://github.com/propelorm/Propel2)\n\n* Templating systems:\n  * [github.com/bobthecow/mustache.php](https://github.com/bobthecow/mustache.php)\n  * [github.com/twigphp/Twig](https://github.com/twigphp/Twig)\n\n* Libraries:\n  * [github.com/VKCOM/vk-php-sdk](https://github.com/VKCOM/vk-php-sdk)\n  * [github.com/brick/math](https://github.com/brick/math)\n  * [github.com/guzzle/guzzle](https://github.com/guzzle/guzzle)\n  * [github.com/markrogoyski/math-php](https://github.com/markrogoyski/math-php)\n  * [github.com/nikic/PHP-Parser](https://github.com/nikic/PHP-Parser)\n  * [github.com/ramsey/uuid](https://github.com/ramsey/uuid)\n\n* Utilities:\n  * [github.com/composer/composer](https://github.com/composer/composer)\n  * [github.com/sebastianbergmann/phpunit](https://github.com/sebastianbergmann/phpunit)\n  * [github.com/vimeo/psalm](https://github.com/vimeo/psalm)\n\n* Platforms/CMS:\n  * [github.com/WordPress/WordPress](https://github.com/WordPress/WordPress)\n  * [github.com/drupal/drupal](https://github.com/drupal/drupal)\n  * [github.com/joomla/joomla-cms](https://github.com/joomla/joomla-cms)\n  * [github.com/moodle/moodle](https://github.com/moodle/moodle)\n  * [github.com/phacility/phabricator](https://github.com/phacility/phabricator)\n\nThis list is not guaranteed to be append-only; some entries may be removed.\n\n## License\n\nThis repository **does not** override the license of the code it can fetch via git submodules.\n\nThe MIT license applies for the actual repository contents.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquasilyte%2Fphpcorpus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquasilyte%2Fphpcorpus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquasilyte%2Fphpcorpus/lists"}