NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1277 most downloaded on Packagist
`phplint` is a tool that can speed up linting of php files by running several lint processes at once.
Latest stable
9.8.0
Last release 1 months ago
19 Oct 2026
Release timing varies
gaps range from 9 days to 8 months
Nearly every release is documented
notes for 57 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
121 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Commit `8a973bc` : collect and show all deprecations triggered by symfony/deprecation-contracts package
Do not hesitate to read the FAQ and the Migration Guide.
Parallel Processing: Speed up analysis on large codebases
using the CPU auto-detection of fidry/cpu-core-counter package
or use the -j,--job flag.
The lint command is now modernized and use the Symfony invokable syntax.
The Console Argument Resolvers introduced with Symfony 8.1 is now available in a compatible format for PHP 8.2 / Symfony 7.4 LTS, and PHP 8.4+ / Symfony 8.1
A new Extension Architecture was introduced with five basic extensions/plugins :
CacheManager to handle all cached results runs (using symfony/cache package).
Read the Cache Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
DiagnoseManager to output diagnostic information either after running the lint command, or just with the diagnose command.
Read the Diagnose Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
OutputManager to handle results in different formats: console (default), sarif, checkstyle, junit, json.
Read the Output Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
ProfileManager to output a mini profiler information to identify what resources are consumed by PHPLint.
Read the Profile Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
ProgressManager to handle all progress bars format: auto (default) , dots, bar, indicator.
Read the Progress Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
a81901a : Fixed the project autoloader to be compatible with global _composer_autoload_path variable defined by Composer bin proxy7dc1d5d : Fixed a PHP error when cache_manager is not loaded and cache is asked6ccc8e0 : PHAR distribution do not check anymore the requirement before to run on a platform013ec7c : to help PHPLint 9.7 users to migrate easily to new version 9.87d109f7 : restore the cache option for a smooth migration for PHPLint 9.7 users8a973bc : collect and show all deprecations triggered by symfony/deprecation-contracts package8ece9ed : Fixed PathValueResolver for exclude parameter that should not be realpath resolved05fa0b8 : introduces the new VarDumpHelper for debugging purpose only1dc7edf : the logger instance is now inject directly into the Application Class Constructorb596c75 : default colors skin is moved outside application to be able to initialize them on the new ConsoleLogger class8f9ae8d : The profiler may be enabling with the profile mode (PLINT_MODE=profile)cd6325a : The profiler may now be disabled even on legacy modeb55f445 : Restore the extensions legacy option for a smooth UXfc8ec7d : Raise deprecations when running phplint with obsolete options59b5b5f : Use semantic rather than pretty string for short version identification0b006bb : Use Git tag, if possible, to identify current version9ca9b71 : The diagnose command is able to print information about the caching feature (use PLINT_DIAGNOSTIC=cache)f064b2b : Fixed a regression with caching feature since first RC95a4e78 : Introduces EventAwareInterface contract and extracted code from AbstractManager (to new EventAwareTrait)c90e1a0 : Allows to exclude some metadata from a collectionFull Changelog: 9.8.0-rc.3...9.8.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This third (and last) release candidate of the new version 9.8 follows changes accordingly to the ROADMAP.
This third (and last) release candidate of the new version 9.8 follows changes accordingly to the ROADMAP.
Any feedback will be greatly appreciated.
And if you want to help/contribute to make PHPLint 9.8 more stable,
do not hesitate to add new report with title prefixed by 9.8 |
[!IMPORTANT] If your issue/report contains contextual information (to identify more easily the problem), please provide the output of the
diagnosecommand, or diagnostic printed after thelintcommand execution.Remember you can add what you want (with
PLINT_DIAGNOSTICenvironment variable). Read the Diagnose Manager user Guide to learn more.You may also read the FAQ if you begin with this version, or just migrate from version 9.7.x
9ca9b71 : The diagnose command is able to print information about the caching feature (use PLINT_DIAGNOSTIC=cache)f064b2b : Fixed a regression with caching feature since first RC95a4e78 : Introduces EventAwareInterface contract and extracted code from AbstractManager (to new EventAwareTrait)c90e1a0 : Allows to exclude some metadata from a collectionFull Changelog: 9.8.0-rc.2...9.8.0-rc.3
Commit `8a973bc` : collect and show all deprecations triggered by symfony/deprecation-contracts package
This second release candidate of the new version 9.8 follows changes accordingly to the ROADMAP.
Any feedback will be greatly appreciated.
And if you want to help/contribute to make PHPLint 9.8 more stable,
do not hesitate to add new report with title prefixed by 9.8 |
[!IMPORTANT] If your issue/report contains contextual information (to identify more easily the problem), please provide the output of the
diagnosecommand, or diagnostic printed after thelintcommand execution.Remember you can add what you want (with
PLINT_DIAGNOSTICenvironment variable). Read the Diagnose Manager user Guide to learn more.You may also read the FAQ if you begin with this version, or just migrate from version 9.7.x
A benchmark report is available between version 9.7.2 and 9.8.0-rc.2
a81901a : Fixed the project autoloader to be compatible with global _composer_autoload_path variable defined by Composer bin proxy7dc1d5d : Fixed a PHP error when cache_manager is not loaded and cache is asked6ccc8e0 : PHAR distribution do not check anymore the requirement before to run on a platform013ec7c : to help PHPLint 9.7 users to migrate easily to new version 9.87d109f7 : restore the cache option for a smooth migration for PHPLint 9.7 users8a973bc : collect and show all deprecations triggered by symfony/deprecation-contracts package8ece9ed : Fixed PathValueResolver for exclude parameter that should not be realpath resolved05fa0b8 : introduces the new VarDumpHelper for debugging purpose only1dc7edf : the logger instance is now inject directly into the Application Class Constructorb596c75 : default colors skin is moved outside application to be able to initialize them on the new ConsoleLogger classFull Changelog: 9.8.0-rc.1...9.8.0-rc.2
This first release candidate of the new version 9.8 follows changes accordingly to the ROADMAP.
This first release candidate of the new version 9.8 follows changes accordingly to the ROADMAP.
Any feedback will be greatly appreciated.
And if you want to help/contribute to make PHPLint 9.8 more stable,
do not hesitate to add new report with title prefixed by 9.8 |
[!IMPORTANT] If your issue/report contains contextual information (to identify more easily the problem), please provide the output of the
diagnosecommand, or diagnostic printed after thelintcommand execution.Remember you can add what you want (with
PLINT_DIAGNOSTICenvironment variable). Read the Diagnose Manager user Guide to learn more.
The lint command is now modernized and use the Symfony invokable syntax.
The Console Argument Resolvers introduced with Symfony 8.1 is now available in a compatible format for PHP 8.2 / Symfony 7.4 LTS, and PHP 8.4 / Symfony 8.1
With in minds to reach goal to reduce vendor dependencies, a new Extension Architecture was introduced with five basic extensions/plugins :
CacheManager to handle all cached results runs (using symfony/cache package).
Read the Cache Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
DiagnoseManager to output diagnostic information either after running the lint command, or just with the diagnose command.
Read the Diagnose Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
OutputManager to handle results in different formats: console (default), sarif, checkstyle, junit, json.
Read the Output Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
ProfileManager to output a mini profiler information to identify what resources are consumed by PHPLint.
Read the Profile Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
ProgressManager to handle all progress bars format: auto (default) , dots, bar, indicator.
Read the Progress Manager User Guide and learn more on architecture, if you want to contribute or adapt behaviors with the Developer Guide.
Full Changelog: 9.7.2...9.8.0-rc.1
This version is the last one on branch 9.7. Next one is the final stable 9.8.0
This version is the last one on branch 9.7. Next one is the final stable 9.8.0
This is a maintenance version without features changes since version 9.7.2
actions/checkout GH action from v6 to v7.0.1actions/upload-artifact GH action from v4 to v7.0.1docker/build-push-action GH action from v6 to v7.4.0docker/login-action GH action from v3 to v4.6.0docker/setup-buildx-action GH action from v3 to v4.4.1docker/setup-qemu-action GH action from v3 to v4.4.0ramsey/composer-install GH action from v3 to 4.0.0shivammathur/setup-php GH action from v2 to 2.37.2jetbrains/phpstorm-stubs dependency constraint (keep always the most up-to-date stable version)Full Changelog: 9.7.2...9.7.3
Thanks to @StantonMatt for his contribution to fix this issue
#224 : Linting the very same file in different file-system locations should re-use a single cache file
Thanks to @StantonMatt for his contribution to fix this issue
#232 : Upgrade Dockerfile to use PHP 8.5 runtime
Full Changelog: 9.7.1...9.7.2
PHAR distribution by disabling BOX dump-autoload setting
dump-autoload settingFull Changelog: 9.7.0...9.7.1
see CHANGELOG.md for details
see CHANGELOG.md for details
Full Changelog: 9.6.3...9.7.0
## 9.6.3 - 2025-11-27 ### Fixed - #225 : Performance degradation on 9.x releases Full Changelog: 9.6.2...9.6.3
Full Changelog: 9.6.2...9.6.3
lint command support now the new cache-dir option that replace the legacy cache option, marked as deprecated (and will be removed in next major versio…
lint command support now the new cache-dir option that replace the legacy cache option,
marked as deprecated (and will be removed in next major version)Full Changelog: 9.6.1...9.6.2
default cache TTL value is now set to 1 hour (3600 seconds)
--cache-ttl option less than default TTL is in effectFull Changelog: 9.6.0...9.6.1
--cache-ttl option on lint command to solve cache invalidation issue
--cache-ttl option on lint command to solve cache invalidation issueFull Changelog: 9.5.6...9.6.0
Make this package PHP 8.1 compatible again to allow using Symfony Components 6.4 without getting deprecations notices, when running with a PHP 8.4 run…
Make this package PHP 8.1 compatible again to allow using Symfony Components 6.4 without getting deprecations notices, when running with a PHP 8.4 runtime : requested by @gnutix
Upgrade Dockerfile to use PHP 8.4 runtime
Full Changelog: 9.5.5...9.5.6
upgrade SARIF output to support PhpLintConverter of bartlett/sarif-php-converters package
bartlett/sarif-php-converters packageFull Changelog: 9.5.4...9.5.5
> Only versions 9.5.x or greater are now actively supported.
[!WARNING]
Only versions 9.5.x or greater are now actively supported.
Versions
9.1,9.2,9.3, and9.4won't receive any updates as they reach end-of-life.
Drop PHPUnit 10 support and upgrade to PHPUnit 11
Full Changelog: 9.5.3...9.5.4
## 9.5.3 - 2024-10-11 ### Fixed - #214 : junit invalid xml Full Changelog: 9.5.2...9.5.3
Same as 9.5.0 (except for GitHub Workflows that still used PHP 8.1)
Same as 9.5.0 (except for GitHub Workflows that still used PHP 8.1)
Full Changelog: 9.5.0...9.5.2
Same as 9.5.0 (except for GitHub Workflows that still used PHP 8.1)
Same as 9.5.0 (except for GitHub Workflows that still used PHP 8.1)
Full Changelog: 9.5.0...9.5.1
### Changed - drop support to PHP 8.1 - #213 : Get application version from Composer Runtime API ### Fixed - #192 : The "-x" option does not exist. Fu
Full Changelog: 9.4.1...9.5.0
## 9.4.2 - 2024-10-11 ### Fixed - #214 : junit invalid xml Full Changelog: 9.4.1...9.4.2
> This bugfix version is only for the PHAR distribution.
[!NOTE]
This bugfix version is only for the PHAR distribution.
Full Changelog: 9.4.0...9.4.1
support to sarif format is now optional. Requires to install extra package bartlett/sarif-php-converters.
checkstyle formatsarif format is now optional. Requires to install extra package bartlett/sarif-php-converters.[!NOTE]
sarifformat is a good example of how to use custom format not provided by current PHPLint distribution. Read how to use it at https://github.com/llaville/sarif-php-converters/blob/1.0/docs/converter/phplint.md
log-* and sarif-converter optionsprogress option is now detected on phplint binary launcher.Full Changelog: 9.3.1...9.4.0
## 9.3.2 - 2024-10-12 ### Fixed - #214 : junit invalid xml Full Changelog: 9.3.1...9.3.2
bootstrap option handling in wrong place
New bootstrap option to make it easier to load whatever you need before to run linter.
bootstrap option to make it easier to load whatever you need before to run linter.examples/sarif_output.php) to show how to generate a SARIF report programmaticallyvendor-dir configurationFull Changelog: 9.2.0...9.3.0
## 9.2.1 - 2024-10-12 ### Fixed - #214 : junit invalid xml Full Changelog: 9.2.0...9.2.1
Reorganize binary launcher (bin/phplint) and autoloader (autoload.php replaced config/bootstrap.php)
bin/phplint) and autoloader (autoload.php replaced config/bootstrap.php)Full Changelog: 9.1.2...9.2.0
## 9.1.3 - 2024-10-12 ### Fixed - #214 : junit invalid xml Full Changelog: 9.1.2...9.1.3
## 9.1.2 - 2024-02-06 ### Fixed - #202 : composer config vendor-dir is ignored - #203 : Uncaught Error: Failed opening required "phar:///usr/local/bin
Full Changelog: 9.1.1...9.1.2
## 9.1.1 - 2024-02-05 ### Fixed - #200 : Unable to create file /github/home/.composer/config.json in GitHub Action - #201 : GitHub Action build docker
/github/home/.composer/config.json in GitHub ActionFull Changelog: 9.1.0...9.1.1
PHPStan dev tool to enforce code quality of this project (see Contributor guide)
DebugFormatterHelper for asynchronous processProcessHelper for asynchronous processProgressIndicator) to let users know that the phplint command isn't stalled. Uses --progress=indicator.ProgressPrinter and ProgressBar extensions must now implement the Overtrue\PHPLint\Output\ConsoleOutputInterface specificationcheck-style begins style:check, and fix-style begins style:fix)box.json.distsetApplicationVersion and setConfigResolver methods were removed from Overtrue\PHPLint\Output\ConsoleOutputInterface
as there are no more requiredFull Changelog: 9.0.6...9.1.0
IMPORTANT Do not use version 9.0.7 (wrong fixes for Docker targets, including GitHub Actions)
IMPORTANT Do not use version 9.0.7 (wrong fixes for Docker targets, including GitHub Actions)
/github/home/.composer/config.json in GitHub ActionFull Changelog: 9.0.6...9.0.8
## 9.0.7 - 2024-02-05 ### Fixed - #200 : Unable to create file /github/home/.composer/config.json in GitHub Action - #201 : GitHub Action build docker
/github/home/.composer/config.json in GitHub ActionFull Changelog: 9.0.6...9.0.7
## 9.0.6 - 2023-12-02 ### Fixed - #196 : Better Symfony 7 support Full Changelog: 9.0.5...9.0.6
This version is compatible PHP 8.0, 8.1, 8.2 and 8.3
This version is compatible PHP 8.0, 8.1, 8.2 and 8.3
CAUTION Next minor release 9.1 will drop support to PHP 8.0
Full Changelog: 9.0.4...9.0.5
ConsoleOutput is no more final to be able to customize it
Full Changelog: 9.0.3...9.0.4
## 9.0.3 - 2023-02-14 ### Fixed - #178 : "no configuration file is found" message without --no-configuration flag - #175 : PHAR version not available
Full Changelog: 9.0.2...9.0.3
## 9.0.2 - 2023-02-13 ### Fixed - #176 : Enhance Cache support for Windows platform (thanks @Knallcharge for reporting) Full Changelog: 9.0.1...9.0.2
Full Changelog: 9.0.1...9.0.2
configure Release Workflow to run manually
Full Changelog: 9.0.0...9.0.1
introduces Changie for changelog automation
--manifest option to display contents of manifest of the PHAR version (only) of PHPLinterjetbrains/phpstorm-stubs requirement to accept v2022brainmaestro/composer-git-hooks requirement to accept v3.0 alpha1 : that will allow to update psr/log to v3 and symfony/console to v6--log-json option)--log-junit option)humbug/php-scoper to allow usage of Box v4 with at least PHP 8.1CAUTION This version is equivalent to v6.0.0 with following changes.
CAUTION This version is equivalent to v6.0.0 with following changes.
nf did not work by @llaville : #167php-parallel-lint/php-console-highlighter dependency by @llaville : #172fix issue #168 by @llaville : Lint command does not run if config file is missing (thanks to @purdy for reporting)
Full Changelog: https://github.com/overtrue/phplint/compare/6.0.3...6.0.4
rename memory_limit to memory-limit in YAML config file
memory_limit to memory-limit in YAML config filenf did not workFull Changelog: https://github.com/overtrue/phplint/compare/6.0.0...6.0.3
Nothing published for this version
Added experimental PHP 8.2 support (still under developement)
CAUTION This version is equivalent to v5.3.0 with following changes.
CAUTION This version is equivalent to v5.3.0 with following changes.
nf did not work by @llaville : #167php-parallel-lint/php-console-highlighter dependency by @llaville : #172fix issue #168 by @llaville : Lint command does not run if config file is missing (thanks to @purdy for reporting)
Full Changelog: https://github.com/overtrue/phplint/compare/5.4.1...5.4.2
rename memory_limit to memory-limit in YAML config file
memory_limit to memory-limit in YAML config filenf did not workFull Changelog: https://github.com/overtrue/phplint/compare/5.3.0...5.4.1
Nothing published for this version
Added memory_limit option to set the memory limit for each linter process. #137 by @llaville in https://github.com/overtrue/phplint/pull/138
memory_limit option to set the memory limit for each linter process. #137 by @llaville in https://github.com/overtrue/phplint/pull/138Full Changelog: https://github.com/overtrue/phplint/compare/5.2.2...5.3.0
Update version to 5.2 by @vkryklyvenko in https://github.com/overtrue/phplint/pull/135
Full Changelog: https://github.com/overtrue/phplint/compare/5.2.1...5.2.2
Full Changelog: https://github.com/overtrue/phplint/compare/5.2.0...5.2.1
Full Changelog: https://github.com/overtrue/phplint/compare/5.2.0...5.2.1
Add no-files-exit-code option to 8.1 by @vkryklyvenko in https://github.com/overtrue/phplint/pull/128
Full Changelog: https://github.com/overtrue/phplint/compare/5.1.0...5.2.0
Fix support for PHP 8.1 by @txigreman in https://github.com/overtrue/phplint/pull/122
Full Changelog: https://github.com/overtrue/phplint/compare/5.0.0...5.1.0
PHP 8.1 only #120 Full Changelog: https://github.com/overtrue/phplint/compare/4.1.0...5.0.0
PHP 8.1 only #120
Full Changelog: https://github.com/overtrue/phplint/compare/4.1.0...5.0.0
CAUTION This version is equivalent to v4.3.0 with following changes.
CAUTION This version is equivalent to v4.3.0 with following changes.
nf did not work by @llaville : #167php-parallel-lint/php-console-highlighter dependency by @llaville : #172fix issue #168 by @llaville : Lint command does not run if config file is missing (thanks to @purdy for reporting)
Full Changelog: https://github.com/overtrue/phplint/compare/4.4.0...4.4.1
rename memory_limit to memory-limit in YAML config file
memory_limit to memory-limit in YAML config filenf did not workFull Changelog: https://github.com/overtrue/phplint/compare/4.3.0...4.4.0
Added memory_limit option to set the memory limit for each linter process. #137 for branch 8.0 by @llaville in https://github.com/overtrue/phplint/pul
memory_limit option to set the memory limit for each linter process. #137 for branch 8.0 by @llaville in https://github.com/overtrue/phplint/pull/140Full Changelog: https://github.com/overtrue/phplint/compare/4.2.1...4.3.0
Update version to 4.2.0 by @vkryklyvenko in https://github.com/overtrue/phplint/pull/134
Full Changelog: https://github.com/overtrue/phplint/compare/4.2.0...4.2.1
One column per quarter.