{"id":25830348,"url":"https://github.com/amirhp-com/php_compatibility_check","last_synced_at":"2026-05-08T07:32:48.029Z","repository":{"id":279210825,"uuid":"938058051","full_name":"amirhp-com/php_compatibility_check","owner":"amirhp-com","description":"macOS Quick Action to check PHP version compatibility for WordPress plugins.","archived":false,"fork":false,"pushed_at":"2025-03-03T09:55:15.000Z","size":556,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T18:04:05.237Z","etag":null,"topics":["compatibility-testing","macos","php","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://amirhp-com.github.io/php_compatibility_check/","language":"Shell","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/amirhp-com.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":"2025-02-24T11:00:01.000Z","updated_at":"2025-03-03T10:01:23.000Z","dependencies_parsed_at":"2025-02-24T12:23:21.836Z","dependency_job_id":"40fd6551-296d-4c39-bf0a-a5c334d24a38","html_url":"https://github.com/amirhp-com/php_compatibility_check","commit_stats":null,"previous_names":["amirhp-com/php_compatibility_check"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/amirhp-com/php_compatibility_check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2Fphp_compatibility_check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2Fphp_compatibility_check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2Fphp_compatibility_check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2Fphp_compatibility_check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirhp-com","download_url":"https://codeload.github.com/amirhp-com/php_compatibility_check/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2Fphp_compatibility_check/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32771017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["compatibility-testing","macos","php","wordpress","wordpress-plugin"],"created_at":"2025-02-28T19:14:31.769Z","updated_at":"2026-05-08T07:32:48.000Z","avatar_url":"https://github.com/amirhp-com.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 BlackSwanDev PHP Compatibility Checker\n\nA powerful and user-friendly macOS Quick Action to check PHP compatibility for WordPress plugins and projects. Easily verify the minimum PHP version required for your code, right from Finder!\n\n\n## 📸 Sample report\n\u003cimg src=\"Screenshot.png\" width=\"300\" /\u003e\n\n## 📦 Features\n\n- 🟢 Check PHP compatibility for any folder containing PHP files.\n- 📜 Generate a detailed report with errors and warnings.\n- 📅 Automatically includes timestamp and PHP version used.\n- 📂 Opens the report in TextEdit, clean and formatted.\n- 🔔 Notifications for start and completion of the scan.\n\n\n## 🖥️ **Installation (macOS)**\n\n### 1. **Install Required Tools**\nEnsure you have PHP, Composer, and PHPCS installed:\n\n```bash\n# Install Homebrew if not installed\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n\n# Install PHP (latest version)\nbrew install php\n\n# Install Composer\nbrew install composer\n\n# Install PHP CodeSniffer (PHPCS)\ncomposer global require \"squizlabs/php_codesniffer=*\"\n\n# Install PHPCompatibility Standard for PHPCS\ncomposer global require \"phpcompatibility/php-compatibility\"\n```\n\n### 2. **Verify Installations**\nRun these commands to ensure everything is installed:\n\n```bash\nphp --version\ncomposer --version\nphpcs --version\n```\n\n\n## ⚙️ **Setup Quick Action (Automator)**\n\n1. Open **Automator** and create a **Quick Action**.\n2. Set **\"Workflow receives current\"** to `folders` in `Finder`.\n3. Add a **Run Shell Script** action.\n4. **Shell:** `/bin/bash`\n   **Pass Input:** `as arguments`\n5. Paste the following command:\n\n```bash\n/Users/$(whoami)/Documents/php_compatibility_check.sh \"$@\"\n```\n\n6. Save the Quick Action as **PHP Compatibility Check**.\n\n\n## 📝 **How to Use**\n\n1. **Right-click** any folder containing PHP files.\n2. Select **Quick Actions \u003e PHP Compatibility Check**.\n3. Enter the desired PHP version (default: `7.1`).\n4. View the detailed report in TextEdit.\n\n## 🤝 **Credits**\n\nDeveloped by [Amirhossein Hosseinpour](https://amirhp.com) 🖤\nPowered by **BlackSwanDev** and the **PHPCompatibility Standard**.\n\n\n## ⚠️ **Disclaimer \u0026 Warranty**\n\nThis tool is provided **as-is**, without warranty of any kind, express or implied.\nThe developer assumes **no responsibility** for any issues arising from the use of this tool.\n\n\n## 📄 **License**\n\nThis project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.\n\n\n💡 **Enjoy effortless PHP compatibility checks!** If you find this tool useful, ⭐️ star the repo and share it with others!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhp-com%2Fphp_compatibility_check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirhp-com%2Fphp_compatibility_check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhp-com%2Fphp_compatibility_check/lists"}