PHPHint is a community-driven, quick and easy to use, online tool that analyzes your PHP code and looks for potential errors, lack of best practices and code smell. It also allows you to clean your code automagically thanks to PHP-CS-Fixer. It was created to spread the work about the PSR standards and the PHP-FIG group, the importance of getting rid of code smell and applying to standards.
PHPHint only works because of other great open-source projects made by the brightest of the PHP community. It is a frontend (but also could be called a mashup) to:
- PHP_CodeSniffer, by Greg Sherwood
- PHP-CS-Fixer, by Fabien Potencier
- phploc, by Sebastian Bergmann
- PHPMD, by Manuel Pichler
- PHP_Depend, by Manuel Pichler
- Klaus Silveira (Creator, developer)
- finish integration with PHPMD and PHPDepend
- HPHPA? maybe?
- refactor the whole thing, it was made in one night of pure coffee frenzy
PHPHint was created to be quick and easy to use, helping spread the word about code smells and helping people follow the PSR standards. It won't fix or check your entire codebase, that's not the objective. Quick, easy, single-file analysis is the objective. If you want to run PHPHint on a project, just use the tools that power PHPHint! They were made for that.