phpcpd-next 2.0 launches as fully rewritten MIT-licensed PHP duplicate code detector
Released on September 13, 2026, phpcpd-next 2.0 is now available on Packagist as a complete rewrite — not a refactor — of the PHP copy/paste detection tool that was archived in 2023. The new version switches to an MIT license and introduces three detection engines, including Rabin–Karp for exact matches and a SourcererCC-based engine for structural similarity. It adds support for 28 languages for all tool output, a dead-code detection mode, confidence ranking, and Laravel-specific presets that automatically apply sensible scan exclusions. The tool also outputs SARIF 2.1.0 reports for integration with GitHub Code Scanning and supports incremental caching to speed up repeated runs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in