# PHPLint

> Lint PHP files faster by running several lint processes at once

Source: https://talira.ai/catalog/phplint-bpnr9ztv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^2]
- Backed by: [Chris An (overtrue)](https://talira.ai/orgs/overtrue.md)

PHPLint is a command-line tool that checks PHP files for syntax errors faster than running php -l on each file, by running several lint processes in parallel. It runs from the console, in Docker or in CI, and can be used programmatically, with a YAML configuration file for paths, exclusions and options. Install it as a PHAR from its GitHub releases (the recommended way), with Phive, with Composer (overtrue/phplint) or from the overtrue/phplint Docker image. Version 9 is a full rewrite for PHP 8.x; Laurent Laville has maintained it since 9.0.

## Links

- GitHub: https://github.com/overtrue/phplint
- Docs: https://github.com/overtrue/phplint/tree/main/docs

## Problems it solves

- php -l on every file in CI takes too long on a big PHP codebase
- catch PHP syntax errors before deploy in a GitHub Actions pipeline
- lint PHP files in parallel from a Docker image

## Features

- parallel PHP syntax linting
- YAML configuration
- PHAR, Phive, Composer and Docker installs
- CI and programmatic use

## Limitations

- Needs PHP 8.2 or newer for the supported 9.7 and 9.8 versions; older PHP needs an end-of-life release.[^1]

## Trust

Overall: 0.61 out of 1.
Signals: maintenance 1.00, adoption 0.60, momentum 0.29, community 0.63, backing 0.30, extensibility 0.00.

- last commit 10 days ago
- 220 commits in the last 90 days
- latest release 9.8.3 10 days ago
- 1.0k GitHub stars
- 36 contributors
- accepts sponsorship (Github)
- backed by Chris An (overtrue)

## Alternatives

- [PHP Parallel Lint](https://talira.ai/catalog/php-parallel-lint-s12275mm.md): Checks the syntax of PHP files in parallel
- [Super-Linter](https://talira.ai/catalog/super-linter-gryjv23y.md): Ready-to-run collection of linters and formatters as a GitHub Action or container
- [Easy Coding Standard (ECS)](https://talira.ai/catalog/easy-coding-standard-ecs-1f178a34.md): Runs PHP_CodeSniffer and PHP-CS-Fixer rules together, fast
- [Hadolint](https://talira.ai/catalog/hadolint-gnzsdn0x.md): Dockerfile linter that checks best practices and the shell in RUN lines
- [PHP_CodeSniffer](https://talira.ai/catalog/php-codesniffer-zrnhrrbz.md): Detect and fix coding standard violations in PHP
- [PHPCompatibility](https://talira.ai/catalog/phpcompatibility-ptwv532y.md): PHP_CodeSniffer sniffs that check PHP code for cross-version compatibility

## Sources

[^1]: https://github.com/overtrue/phplint (checked 28 Nov 2026)
[^2]: https://github.com/overtrue/phplint/blob/main/LICENSE (checked 28 Nov 2026)
