overtrue/phplint
`phplint` is a tool that can speed up linting of php files by running several lint processes at once.
9.7.2
15M downloads/mo
#1173 most downloaded on Packagist
overtrue/phplint
What this package is like to depend on
Last release 2 months ago
03 Jun 2026
Release timing varies
gaps range from 2 weeks to 8 months
Some releases are documented
notes for 32 of 116 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
116 releases · first in 2016
4 releases in the last 12 months
see the full history below
Release timeline
116 releases · Jul 2016 to Jun 2026Releases
latest 60 of 116-
9.7.203 Jun 2026Release notes
Open source →9.7.2 - 2026-06-03
Fixed
-
#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
Dockerfileto use PHP 8.5 runtime
Full Changelog: 9.7.1...9.7.2
Release notes
Open source →Fixed
-
#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
Dockerfileto use PHP 8.5 runtime
Full Changelog: 9.7.1...9.7.2
-
-
9.7.129 Nov 2025Release notes
Open source →9.7.1 - 2025-11-29
Fixed
- PHAR distribution by disabling BOX
dump-autoloadsetting
Full Changelog: 9.7.0...9.7.1
Release notes
Open source → - PHAR distribution by disabling BOX
-
9.7.029 Nov 2025Release notes
Open source →Changed
- PHP minimum requirement is now version 8.2.0
- Symfony minimum requirement is now version 7.4.0
- #228 : Make it Symfony 8.0 compatible
Removed
- support to PHP 8.1
- support to Symfony 6.4
Full Changelog: 9.6.3...9.7.0
-
9.6.327 Nov 2025Release notes
Open source →9.6.3 - 2025-11-27
Fixed
- #225 : Performance degradation on 9.x releases
Full Changelog: 9.6.2...9.6.3
Release notes
Open source → -
9.6.210 Apr 2025Release notes
Open source →9.6.2 - 2025-04-10
Added
lintcommand support now the newcache-diroption that replace the legacycacheoption,
marked as deprecated (and will be removed in next major version)
Changed
- Remove support of a TTL = zero (store permanently) for the caching files syntax checking results
Full Changelog: 9.6.1...9.6.2
Release notes
Open source →Added
lintcommand support now the newcache-diroption that replace the legacycacheoption, marked as deprecated (and will be removed in next major version)
Changed
- Remove support of a TTL = zero (store permanently) for the caching files syntax checking results
Full Changelog: 9.6.1...9.6.2
-
9.6.109 Apr 2025Release notes
Open source →9.6.1 - 2025-04-09
Changed
- default cache TTL value is now set to 1 hour (3600 seconds)
Fixed
- ability to clear cache entries by invalidation with
--cache-ttloption less than default TTL is in effect
Full Changelog: 9.6.0...9.6.1
Release notes
Open source →Changed
- default cache TTL value is now set to 1 hour (3600 seconds)
Fixed
- ability to clear cache entries by invalidation with
--cache-ttloption less than default TTL is in effect
Full Changelog: 9.6.0...9.6.1
-
9.6.009 Apr 2025Release notes
Open source →9.6.0 - 2025-04-09
Added
--cache-ttloption onlintcommand to solve cache invalidation issue
Changed
- drop support of PHPStan 1.x, raising min version to 2.0 now
Fixed
- PHPUnit coverage code attributes usage
Full Changelog: 9.5.6...9.6.0
Release notes
Open source →Added
--cache-ttloption onlintcommand to solve cache invalidation issue
Changed
- drop support of PHPStan 1.x, raising min version to 2.0 now
Fixed
- PHPUnit coverage code attributes usage
Full Changelog: 9.5.6...9.6.0
-
9.5.615 Jan 2025Release notes
Open source →9.5.6 - 2025-01-15
Changed
-
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
Release notes
Open source →Changed
-
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
-
-
9.5.508 Dec 2024Release notes
Open source →9.5.5 - 2024-12-08
Changed
- upgrade SARIF output to support PhpLintConverter of
bartlett/sarif-php-converterspackage
Full Changelog: 9.5.4...9.5.5
Release notes
Open source →Changed
- upgrade SARIF output to support PhpLintConverter of
bartlett/sarif-php-converterspackage
Full Changelog: 9.5.4...9.5.5
- upgrade SARIF output to support PhpLintConverter of
-
9.5.401 Nov 2024Release notes
Open source →9.5.4 - 2024-11-01
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.Changed
Drop PHPUnit 10 support and upgrade to PHPUnit 11
- #216 : PHPUnit 11 support
Fixed
- #215 : PHP 8.4 runtime support
Full Changelog: 9.5.3...9.5.4
Release notes
Open source →[!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.Changed
Drop PHPUnit 10 support and upgrade to PHPUnit 11
- #216 : PHPUnit 11 support
Fixed
- #215 : PHP 8.4 runtime support
Full Changelog: 9.5.3...9.5.4
-
9.5.311 Oct 2024 -
9.5.208 Oct 2024Release notes
Open source →Same as 9.5.0 (except for GitHub Workflows that still used PHP 8.1)
Full Changelog: 9.5.0...9.5.2
-
9.5.108 Oct 2024Release notes
Open source →Same as 9.5.0 (except for GitHub Workflows that still used PHP 8.1)
Full Changelog: 9.5.0...9.5.1
-
9.5.008 Oct 2024Release notes
Open source →Changed
- drop support to PHP 8.1
- #213 : Get application version from Composer Runtime API
Fixed
- #192 : The "-x" option does not exist.
Full Changelog: 9.4.1...9.5.0
-
9.4.211 Oct 2024Nothing published for this version
-
9.4.105 Jul 2024Release notes
Open source →[!NOTE]
This bugfix version is only for the PHAR distribution.
Fixed
- #210 : PHAR manifest is broken
Full Changelog: 9.4.0...9.4.1
-
9.4.005 Jul 2024Release notes
Open source →Added
- #208 : Add support to more output formats
- support to
checkstyleformat
Changed
- support to
sarifformat is now optional. Requires to install extra packagebartlett/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.mdRemoved
- legacy
log-*andsarif-converteroptions - useless help column in configuration table when verbose mode is active
Fixed
- shortcut of
progressoption is now detected onphplintbinary launcher.
Full Changelog: 9.3.1...9.4.0
-
9.3.212 Oct 2024Nothing published for this version
-
9.3.117 May 2024Release notes
Open source → -
9.3.016 May 2024Release notes
Open source →Added
- New
bootstrapoption to make it easier to load whatever you need before to run linter. - New example (
examples/sarif_output.php) to show how to generate a SARIF report programmatically
Fixed
- #206 : New autoloader does not respect custom
vendor-dirconfiguration
Full Changelog: 9.2.0...9.3.0
- New
-
9.2.112 Oct 2024Nothing published for this version
-
9.2.003 May 2024Release notes
Open source →Added
- #186 : Add SARIF output format
Changed
- Reorganize binary launcher (
bin/phplint) and autoloader (autoload.phpreplacedconfig/bootstrap.php)
Full Changelog: 9.1.2...9.2.0
-
9.1.312 Oct 2024Nothing published for this version
-
9.1.206 Feb 2024Release notes
Open source →Fixed
- #202 : composer config vendor-dir is ignored
- #203 : Uncaught Error: Failed opening required "phar:///usr/local/bin/phplint/config/bootstrap.php"
- #204 : PHPLint 9.1.1 is unable to interpret correctly command arguments/options
Full Changelog: 9.1.1...9.1.2
-
9.1.105 Feb 2024Release notes
Open source →Fixed
- #200 : Unable to create file
/github/home/.composer/config.jsonin GitHub Action - #201 : GitHub Action build docker on fly with wrong version
Full Changelog: 9.1.0...9.1.1
- #200 : Unable to create file
-
9.1.017 Dec 2023Release notes
Open source →Added
- PHPStan dev tool to enforce code quality of this project (see Contributor guide)
- Introduces a
DebugFormatterHelperfor asynchronous process - Introduces a
ProcessHelperfor asynchronous process - Introduces a new extension (
ProgressIndicator) to let users know that thephplintcommand isn't stalled. Uses--progress=indicator.
Changed
- Replaces Symfony components constraint to new LTS (6.4), and drop support to old one (5.4)
ProgressPrinterandProgressBarextensions must now implement theOvertrue\PHPLint\Output\ConsoleOutputInterfacespecification- Reorganize dev tools under their own composer namespace (
check-stylebeginsstyle:check, andfix-stylebeginsstyle:fix) - #197 : Faster process linter
- rename BOX config file to
box.json.dist - Dockerfile bump default PHP version from 8.2 to 8.3 (to produce better perf)
Removed
- drop support of PHPUnit 9
- drop support of PHP 8.0
setApplicationVersionandsetConfigResolvermethods were removed fromOvertrue\PHPLint\Output\ConsoleOutputInterfaceas there are no more required
Full Changelog: 9.0.6...9.1.0
-
9.0.805 Feb 2024Release notes
Open source →IMPORTANT Do not use version 9.0.7 (wrong fixes for Docker targets, including GitHub Actions)
Fixed
- #200 : Unable to create file
/github/home/.composer/config.jsonin GitHub Action - #201 : GitHub Action build docker on fly with wrong version
Full Changelog: 9.0.6...9.0.8
- #200 : Unable to create file
-
9.0.705 Feb 2024Release notes
Open source →Fixed
- #200 : Unable to create file
/github/home/.composer/config.jsonin GitHub Action - #201 : GitHub Action build docker on fly with wrong version
Full Changelog: 9.0.6...9.0.7
- #200 : Unable to create file
-
9.0.602 Dec 2023 -
9.0.501 Dec 2023Release notes
Open source →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
Changed
- Upgrade Phive installation documentation
- Migrate PHPUnit configuration file to 10.4 format
- Raise PHPUnit 9 constraint to latest v9 minor release
- PR #195 : Add Symfony 7 support (thanks to @olegpro)
Fixed
- PR #194 : Fix link to Configuration in console.md (thanks to @hNczy)
- #193 : PHP CS Fixer deprecated rules
Full Changelog: 9.0.4...9.0.5
-
9.0.423 Feb 2023Release notes
Open source →Added
- PHPUnit 10 support
Changed
- ConsoleOutput is no more final to be able to customize it
- LinterOutput implement Countable interface
- Finder implement JsonSerializable interface
Fixed
- #182 : Docker usage may raise a permission denied
- #183 : Error is unintuitive when there are no files to lint
- #185 : Analyse multiple path at same time did not work with console command
- #187 : Improve log options implementation
Full Changelog: 9.0.3...9.0.4
-
9.0.314 Feb 2023Release notes
Open source →Fixed
- #178 : "no configuration file is found" message without --no-configuration flag
- #175 : PHAR version not available since release 9.0.0
Full Changelog: 9.0.2...9.0.3
-
9.0.213 Feb 2023Release notes
Open source → -
9.0.113 Feb 2023Release notes
Open source →Changed
- configure Release Workflow to run manually
Fixed
- #175 : Release Workflow was not able to build a PHAR with manifest distribution
Full Changelog: 9.0.0...9.0.1
-
9.0.013 Feb 2023Release notes
Open source →Added
- introduces Changie for changelog automation
- add declare strict_types directive on top of each php script
- add PHP DocBlock header comment on top of each php script
- introduces test automation with PHPUnit
- introduces Finder component to find source files to analyse
- introduces Logger component (basic PSR-3) for cache debugging purpose
- introduces Dispatcher component with events to allow extensible code more easy
- introduces extensions to display checking progress
- introduces OptionsResolver component to resolve configuration with options
- #173 : Improve PHAR build with BOX v4 by adding a manifest
--manifestoption to display contents of manifest of the PHAR version (only) of PHPLinter
Changed
- raise minimum version constraint on Symfony Components to use the current LTS (5.4)
- update
jetbrains/phpstorm-stubsrequirement to accept v2022 - update
brainmaestro/composer-git-hooksrequirement to accept v3.0 alpha1 : that will allow to update psr/log to v3 and symfony/console to v6 - code-rewrites to use Symfony Cache Component
- Lint process class was renamed and some minor type declaration were fixed
- Remove n98/junit-xml dependency and replace it by new JunitXmlReporter extension (about 30 lines of code)
- JsonOutput console/output is specialized to produce JSON output results (see
--log-jsonoption) - JunitOutput console/output is specialized to produce JUnit XML format results (see
--log-junitoption) - ConsoleOutput is specialized to produce CLI output (default results)
- upgrade
humbug/php-scoperto allow usage of Box v4 with at least PHP 8.1 - Integration with PHP-Scoper to provide a PHAR code isolation with BOX project
- All dev tools are now under bamarni/composer-bin-plugin control
Removed
- remove platform emulation by Composer config/platform directive
-
6.1.028 Dec 2022Nothing published for this version
-
6.0.423 Dec 2022Nothing published for this version
-
6.0.322 Dec 2022Nothing published for this version
-
6.0.222 Dec 2022Nothing published for this version
-
6.0.024 Sep 2022Nothing published for this version
-
5.5.028 Dec 2022Nothing published for this version
-
5.4.223 Dec 2022Nothing published for this version
-
5.4.122 Dec 2022Nothing published for this version
-
5.4.022 Dec 2022Nothing published for this version
-
5.3.012 Jul 2022Nothing published for this version
-
5.2.221 Jun 2022Nothing published for this version
-
5.2.118 Jun 2022Nothing published for this version
-
5.2.008 Jun 2022Nothing published for this version
-
5.1.019 Apr 2022Nothing published for this version
-
5.0.006 Apr 2022Nothing published for this version
-
4.5.028 Dec 2022Nothing published for this version
-
4.4.123 Dec 2022Nothing published for this version
-
4.4.022 Dec 2022Nothing published for this version
-
4.3.012 Jul 2022Nothing published for this version
-
4.2.121 Jun 2022Nothing published for this version
-
4.2.008 Jun 2022Nothing published for this version
-
4.1.023 Dec 2021Nothing published for this version
-
4.0.029 Nov 2021Nothing published for this version
-
3.4.028 Dec 2022Release notes
Open source →CAUTION This version is equivalent to v3.2.0 with following changes.
-
Github Actions : Workflows changes from 3.3.0 until 3.3.2 were kept.
-
Drop support to PHP 5 #155 , PHP 7.0, 7.1, 7.2, and 7.3
-
Highlight PHP code in terminal package migration by @llaville : #157
-
Short option nf did not work by @llaville : #167
-
PHP-CS-Fixer migration to v3 by @llaville : #156
-
Cosmetic fix with php-parallel-lint/php-console-highlighter dependency by @llaville : #172
-
Add instructions for Gitlab CI usage by @matheusab : #161
Contributors
llaville and matheusab
-
-
3.3.223 Dec 2022Nothing published for this version