A collection of (mostly) free or open source PHP libraries, utilities and tools for code quality, code formatting and linting sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

Code Quality

Libraries for managing code quality, formatting and linting.

  • CaptainHook – An easy-to-use and flexible Git hook library.
  • PHP CodeSniffer – A library that detects PHP, CSS and JS coding standard violations.
  • PHP CS Fixer – A coding standards fixer library.
  • PHP Mess Detector – A library that scans code for bugs, sub-optimal code, unused parameters and more.
  • PHPCheckstyle – A tool to help adhere to certain coding conventions.
  • PHPCPD – A library that detects copied and pasted code.

Tags: PHP QA, PHP code quality, PHP code formatting, PHP Linting, captainHook, PHP CodeSniffer, PHP CS Fixer, PHP Mess Detector, PHPCheckstyle, PHPCPD