{"id":18328102,"url":"https://github.com/wpengine/phpcompat","last_synced_at":"2025-04-04T23:09:58.367Z","repository":{"id":37513970,"uuid":"60716491","full_name":"wpengine/phpcompat","owner":"wpengine","description":"WordPress Plugin: PHP Compatibility Checker","archived":false,"fork":false,"pushed_at":"2025-03-18T16:28:18.000Z","size":11648,"stargazers_count":121,"open_issues_count":126,"forks_count":38,"subscribers_count":81,"default_branch":"main","last_synced_at":"2025-03-28T22:14:23.995Z","etag":null,"topics":["php","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/php-compatibility-checker/","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/wpengine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-08T17:23:53.000Z","updated_at":"2025-03-18T16:27:20.000Z","dependencies_parsed_at":"2023-01-23T03:35:11.514Z","dependency_job_id":"9eaf1f53-6b8e-4950-96c2-dd79d833b9bb","html_url":"https://github.com/wpengine/phpcompat","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpengine%2Fphpcompat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpengine%2Fphpcompat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpengine%2Fphpcompat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpengine%2Fphpcompat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpengine","download_url":"https://codeload.github.com/wpengine/phpcompat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261612,"owners_count":20910108,"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":["php","wordpress","wordpress-plugin"],"created_at":"2024-11-05T19:13:09.212Z","updated_at":"2025-04-04T23:09:58.353Z","avatar_url":"https://github.com/wpengine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Compatibility Checker\n\nAn easy way to check your site for PHP Compatibility.\n\n## Setup Development Environment\n\nBefore starting your workstation will need the following:\n\n* [Docker](https://www.docker.com/)\n\n1. Clone the repository\n\n`git@github.com:wpengine/phpcompat.git`\n\n2. Setup WP-Env\n\n```bash\nmake setup \u0026\u0026 make start\n```\n\nWhen finished, a local WordPress will be configured at http://localhost:8888/wp-admin.\n\nWordPress Credentials:\n\n__URL:__ _http://localhost:8888/wp-admin_\n\n__Admin User:__ _admin_\n\n__Admin Password:__ _password_\n\nIf anything goes wrong and you suspect your local is frozen, you can always `make choose-violence` to rebuild the local environment and containers. Hopefully you never have to choose violence. :)\n\n## Build and Testing\n\n```bash\nmake build\n```\n\nNote, assets will also build during the install phase.\n\nYou can run all testing (all lints and unit tests) together with the following:\n\n```bash\nmake test\n```\n\nThe project uses the [Brain Monkey](https://brain-wp.github.io/BrainMonkey/) library for unit testing. Once setup run the following for unit tests:\n\n```bash\nmake test-unit\n```\n\nThe project uses the WordPress e2e tests. Run the following for e2e tests:\n\n```bash\nmake test-e2e\n```\n\nWe also use [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) with [WordPress Coding Standards](https://github.com/WordPress/WordPress-Coding-Standards) and [JSHint](http://jshint.com/) with [WordPress' JS Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/#installing-and-running-jshint). Linting will automagically be setup for you if you use [Visual Studio Code](https://code.visualstudio.com/). If you want to run it manually use the following:\n\n```bash\nmake test-lint\n```\n\nor, to run an individual lint (php or javascript), use one of the following:\n\n```bash\nmake test-lint-php\n```\n\n```bash\nmake test-lint-javascript\n```\n\nScrew something up? You can reset your environment with the following. It will stop the environment and cleanup and the build files as well as anything downloaded.\n\n```bash\nmake reset\n```\n\n## Preparing for release\n\nTo generate a .zip that can be uploaded through any normal WordPress plugin installation workflow, simply run the following:\n\n```bash\nmake release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpengine%2Fphpcompat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpengine%2Fphpcompat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpengine%2Fphpcompat/lists"}