{"id":16877668,"url":"https://github.com/nikic/php-crater","last_synced_at":"2025-04-13T05:13:38.703Z","repository":{"id":56255976,"uuid":"311974041","full_name":"nikic/php-crater","owner":"nikic","description":"Like crater, but for PHP","archived":false,"fork":false,"pushed_at":"2025-02-17T10:52:15.000Z","size":12,"stargazers_count":71,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-13T05:13:31.411Z","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/nikic.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":"2020-11-11T13:09:34.000Z","updated_at":"2025-02-17T10:52:19.000Z","dependencies_parsed_at":"2022-08-15T15:31:24.683Z","dependency_job_id":null,"html_url":"https://github.com/nikic/php-crater","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/nikic%2Fphp-crater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikic%2Fphp-crater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikic%2Fphp-crater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikic%2Fphp-crater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikic","download_url":"https://codeload.github.com/nikic/php-crater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665746,"owners_count":21142123,"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-10-13T15:44:47.440Z","updated_at":"2025-04-13T05:13:38.684Z","avatar_url":"https://github.com/nikic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PHP Crater\n==========\n\nThis is like [rust-lang/crater](https://github.com/rust-lang/crater), but for PHP. Well, a very, very cheap rip-off of crater really.\n\nI'm using this to run PHPUnit tests for the top composer packages against a sanitizer-instrumented debug build of PHP, and looking for any crashes, assertion failures, sanitizer violations and leaks that show up.\n\nUsage\n-----\n\nIt's unlikely that this will work for anyone but me, but the basic usage is:\n\n```sh\ncomposer install\n\n# Clone top 2k packages into repos/ (~20GB):\nphp download.php 0 2000\n\n# Specify the list of repositories to test:\nls -d repos/*/* \u003e repo_list\n\n# Run using PHP build in ~/php/php-src-asan:\nrunner/run.sh ~/php/php-src-asan repo_list \u003e log\n\n# Look for interesting parts of the log:\nphp analyze.php log\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikic%2Fphp-crater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikic%2Fphp-crater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikic%2Fphp-crater/lists"}