{"id":28447528,"url":"https://github.com/openforgeproject/vscode-ddev-phpmd","last_synced_at":"2025-10-06T11:11:52.997Z","repository":{"id":296919361,"uuid":"995005703","full_name":"OpenForgeProject/vscode-ddev-phpmd","owner":"OpenForgeProject","description":"Visual Studio Code Extension for phpmd using DDEV","archived":false,"fork":false,"pushed_at":"2025-09-29T19:50:49.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-29T21:21:45.755Z","etag":null,"topics":["code-quality","ddev","docker","linter","mess-detector","php-development","php-quality","phpmd","static-analysis","vs-code"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=OpenForgeProject.vscode-ddev-phpmd","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenForgeProject.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-02T20:25:01.000Z","updated_at":"2025-09-29T19:50:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"37b1412c-4d7a-40a2-912a-862b62633e17","html_url":"https://github.com/OpenForgeProject/vscode-ddev-phpmd","commit_stats":null,"previous_names":["openforgeproject/vscode-ddev-phpmd"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/OpenForgeProject/vscode-ddev-phpmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ddev-phpmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ddev-phpmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ddev-phpmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ddev-phpmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenForgeProject","download_url":"https://codeload.github.com/OpenForgeProject/vscode-ddev-phpmd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenForgeProject%2Fvscode-ddev-phpmd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278598620,"owners_count":26013291,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["code-quality","ddev","docker","linter","mess-detector","php-development","php-quality","phpmd","static-analysis","vs-code"],"created_at":"2025-06-06T12:05:56.643Z","updated_at":"2025-10-06T11:11:52.980Z","avatar_url":"https://github.com/OpenForgeProject.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DDEV PHPMD Extension for VS Code\n\nThis extension integrates [PHP Mess Detector (PHPMD)](https://phpmd.org/) with Visual Studio Code using [DDEV](https://ddev.com/) as the runtime environment. It provides real-time code quality analysis for PHP projects running in DDEV containers.\n\n## Features\n\n- Real-time PHP code analysis using PHPMD through DDEV\n- **Easy enable/disable functionality per project**\n- Configurable validation triggers (on save or on type)\n- Customizable PHPMD rulesets and severity levels\n- Automatic DDEV project detection\n- Problems panel integration with clickable issue links\n- Status bar indicator showing extension state\n\n## Requirements\n\n- [VS Code](https://code.visualstudio.com/) 1.100.0 or higher\n- [DDEV](https://github.com/ddev/ddev) project with running container\n- PHPMD installed in your DDEV container\n\n## Installation\n\nInstall the extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=OpenForgeProject.vscode-ddev-phpmd) or search for \"DDEV PHPMD\" in VS Code's extension panel.\n\nInstall [PHPMD](https://github.com/phpmd/phpmd) in your DDEV container:\n```bash\nddev composer require --dev phpmd/phpmd\n```\n\n## Usage\n\n1. Open a DDEV project in VS Code\n2. The extension automatically analyzes PHP files when you save them\n3. Issues appear in the Problems panel and are highlighted in the editor\n4. Click on issues to view detailed information and external documentation\n\n### Enable/Disable Extension\n\nYou can easily enable or disable the extension per project:\n\n- **Status Bar Indicators**:\n  - 🚫 `PHPMD` (disabled) - Extension is disabled, click to enable\n  - ⚠️ `PHPMD` (not available) - DDEV/PHPMD not available, check `ddev status`\n  - ✅ `PHPMD` (active/clean) - Extension is active, no issues in current file\n  - ❌ `PHPMD` (active/issues) - Extension is active, current file has PHPMD issues\n- **Command Palette** (`Cmd+Shift+P` / `Ctrl+Shift+P`):\n  - `DDEV PHPMD: Enable` - Enable the extension\n  - `DDEV PHPMD: Disable` - Disable the extension\n  - `DDEV PHPMD: Toggle Enable/Disable` - Toggle the current state\n- **Settings**: Change `ddev-phpmd.enable` in your workspace settings\n\n## Configuration\n\nKey settings in VS Code preferences:\n\n- `ddev-phpmd.enable`: Enable/disable the extension (default: `true`)\n- `ddev-phpmd.validateOn`: When to validate (`\"save\"` or `\"type\"`)\n- `ddev-phpmd.rulesets`: PHPMD rulesets to use\n- `ddev-phpmd.configPath`: Path to custom PHPMD configuration file\n\n## License\n\nGPL-3.0 License. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenforgeproject%2Fvscode-ddev-phpmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenforgeproject%2Fvscode-ddev-phpmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenforgeproject%2Fvscode-ddev-phpmd/lists"}