dealerdirect/phpcodesniffer-composer-installer
PHP_CodeSniffer Standards Composer Installer Plugin
v1.2.1
185M downloads/mo
#220 most downloaded on composer
PHPCSStandards/composer-installer
What this package is like to depend on
Last release 3 months ago
06 May 2026
Release timing varies
gaps range from 1 weeks to 2.4 years
Nearly every release is documented
notes for 25 of 25 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
25 releases · first in 2016
2 releases in the last 12 months
see the full history below
Release timeline
25 releases · Oct 2016 to May 2026Releases
latest 25-
v1.2.106 May 2026Release notes
Open source →Changed
- Various housekeeping, including improvements to CI.
Fixed
- Fix potential error when running
composer installwith anopen_basedirrestriction in effect. Thanks @srebb ! #271, #272
New Contributors
- @srebb made their first contribution
Full Changelog: v1.2.0...v1.2.1
-
v1.2.011 Nov 2025Release notes
Open source →Changed
- Various housekeeping, including improvements to the documentation and tests.
Removed
Release notes
Open source →Changed
- Various housekeeping, including improvements to the documentation and tests.
Removed
- Drop support for PHP_CodeSniffer 2.x. Thanks [@jrfnl] ! #261
-
v1.1.217 Jul 2025Release notes
Open source →Changed
- General housekeeping.
Fixed
- #247: Potential fatal error when the Composer EventDispatcher is called programmatically from an integration. Thanks @jrfnl ! #248
Full Changelog: v1.1.1...v1.1.2
-
v1.1.127 Jun 2025Release notes
Open source →Changed
- Various housekeeping, including improvements to the documentation.
Fixed
- #239: The PHP_CodeSniffer package could not be always found when running the plugin in a Drupal or Magento setup. Thanks @jrfnl ! #245
Full Changelog: v1.1.0...v1.1.1
Release notes
Open source →Changed
- Various housekeeping, including improvements to the documentation.
Fixed
-
v1.1.028 May 2025Release notes
Open source →Changed
- Various housekeeping, including improvements to the documentation and tests. Thanks @SplotyCode, @fredden for contributing!
Removed
New Contributors
- @SplotyCode made their first contribution.
Full Changelog: v1.0.0...v1.1.0
Release notes
Open source →Changed
- Various housekeeping, including improvements to the documentation and tests. Thanks [@SplotyCode], [@fredden] for contributing!
Removed
- Drop support for Composer v1.x. Thanks [@fredden] ! #230
-
v1.0.005 Jan 2023Release notes
Open source →Breaking changes
- Rename namespace prefix from
DealerdirecttoPHPCSStandardsby @jrfnl in #191 - Drop support for PHP 5.3 by @jrfnl in #147
What's Changed
- Correct grammar in error message by @fredden in #189
- .gitattributes: sync with current repo state by @jrfnl in #198
- PHPCSVersions: update URL references by @jrfnl in #161
- Plugin: improve feedback by @jrfnl in #182
- README: remove references to Scrutinizer by @jrfnl in #157
- Rename references to
masterbranch by @Potherca in #201 - Update repo references by @jrfnl in #158
CI / CD
- GH Actions: add builds against Composer 2.2 for PHP 7.2 - 8.x by @jrfnl in #172
- GH Actions: bust the cache semi-regularly by @jrfnl in #192
- GH Actions: fix builds on Windows with PHP 8.2 by @jrfnl in #180
- GH Actions: fix up fail-fast for setup-php by @jrfnl in #195
- GH Actions: run integration tests against Composer snapshot by @jrfnl in #163
- GH Actions: run linting against against ubuntu-latest by @jrfnl in #184
- GH Actions/Securitycheck: update the security checker download by @jrfnl in #178
- GH Actions/Securitycheck: update the security checker download by @jrfnl in #186
- GH Actions/Securitycheck: update the security checker download by @jrfnl in #190
- GH Actions: selectively use
fail-fastwith setup-php by @jrfnl in #194 - GH Actions: stop running tests against PHP 5.5/Composer 1.x on Windows (and remove work-arounds) by @jrfnl in #183
- GH Actions: various tweaks / PHP 8.2 not allowed to fail by @jrfnl in #193
- GH Actions: version update for various predefined actions by @jrfnl in #170
- Update YamLint by @Potherca in #173
Tests
- Add initial integration test setup and first few tests by @jrfnl in #153
- BaseLineTest: stabilize the message checks by @jrfnl in #162
- PlayNiceWithScriptsTest: wrap output expectation in condition by @jrfnl in #179
- RegisterExternalStandardsTest: add new tests by @jrfnl in #165
- RegisterExternalStandardsTest: stabilize test for Composer v1 on Windows with PHP 5.5 by @jrfnl in #171
- TestCase::executeCliCommand(): retry Composer commands on a particular exception by @jrfnl in #164
- Tests: add new
InstalledPathsOrderTestby @jrfnl in #176 - Tests: add new InstallUpdateEventsTest and NonInstallUpdateEventsTest by @jrfnl in #174
- Tests: add new
InvalidPackagesTestby @jrfnl in #168 - Tests: add new
PlayNiceWithScriptsTestby @jrfnl in #169 - Tests: add new
PreexistingPHPCSConfigTestby @jrfnl in #166 - Tests: add new
PreexistingPHPCSInstalledPathsConfigTest+ bug fix by @jrfnl in #167 - Tests: add new
RemovePluginTestby @jrfnl in #177 - Tests: add new RootPackageHandlingTest + bugfix by @jrfnl in #175
New Contributors
Full Changelog: v0.7.2...v1.0.0
Release notes
Open source →Breaking changes
- Rename namespace prefix from Dealerdirect to PHPCSStandards by [@jrfnl] in #191
- Drop support for PHP 5.3 by [@jrfnl] in #147
Changed
- Correct grammar in error message by [@fredden] in #189
- .gitattributes: sync with current repo state by [@jrfnl] in #198
- PHPCSVersions: update URL references by [@jrfnl] in #161
- README: remove references to Scrutinizer by [@jrfnl] in #157
- Rename references to master branch by [@Potherca] in #201
- Update repo references by [@jrfnl] in #158
- GH Actions: add builds against Composer 2.2 for PHP 7.2 - 8.x by [@jrfnl] in #172
- GH Actions: bust the cache semi-regularly by [@jrfnl] in #192
- GH Actions: fix builds on Windows with PHP 8.2 by [@jrfnl] in #180
- GH Actions: fix up fail-fast for setup-php by [@jrfnl] in #195
- GH Actions: run integration tests against Composer snapshot by [@jrfnl] in #163
- GH Actions: run linting against against ubuntu-latest by [@jrfnl] in #184
- GH Actions/Securitycheck: update the security checker download by [@jrfnl] in #178
- GH Actions/Securitycheck: update the security checker download by [@jrfnl] in #186
- GH Actions/Securitycheck: update the security checker download by [@jrfnl] in #190
- GH Actions: selectively use fail-fast with setup-php by [@jrfnl] in #194
- GH Actions: stop running tests against PHP 5.5/Composer 1.x on Windows (and remove work-arounds) by [@jrfnl] in #183
- GH Actions: various tweaks / PHP 8.2 not allowed to fail by [@jrfnl] in #193
- GH Actions: version update for various predefined actions by [@jrfnl] in #170
- Update YamLint by [@Potherca] in #173
- Add initial integration test setup and first few tests by [@jrfnl] in #153
- BaseLineTest: stabilize the message checks by [@jrfnl] in #162
- PlayNiceWithScriptsTest: wrap output expectation in condition by [@jrfnl] in #179
- RegisterExternalStandardsTest: add new tests by [@jrfnl] in #165
- RegisterExternalStandardsTest: stabilize test for Composer v1 on Windows with PHP 5.5 by [@jrfnl] in #171
- TestCase::executeCliCommand(): retry Composer commands on a particular exception by [@jrfnl] in #164
- Tests: add new InstalledPathsOrderTest by [@jrfnl] in #176
- Tests: add new InstallUpdateEventsTest and NonInstallUpdateEventsTest by [@jrfnl] in #174
- Tests: add new InvalidPackagesTest by [@jrfnl] in #168
- Tests: add new PlayNiceWithScriptsTest by [@jrfnl] in #169
- Tests: add new PreexistingPHPCSConfigTest by [@jrfnl] in #166
- Tests: add new PreexistingPHPCSInstalledPathsConfigTest + bug fix by [@jrfnl] in #167
- Tests: add new RemovePluginTest by [@jrfnl] in #177
- Tests: add new RootPackageHandlingTest + bugfix by [@jrfnl] in #175
Fixed
- Plugin: improve feedback by [@jrfnl] in #182
- Rename namespace prefix from
-
v0.7.204 Feb 2022Release notes
Open source →What's Changed
- Add details regarding QA automation in CONTRIBUTING.md file. by @Potherca in #133
- Add mention of Composer and PHP compatibility to project README. by @Potherca in #132
- Composer: tweak PHPCS version constraint by @jrfnl in #152
- CONTRIBUTING: remove duplicate code of conduct by @jrfnl in #148
- Document release process by @Potherca in #118
- Plugin::loadInstalledPaths():
config-showalways shows all by @jrfnl in #154 - README: minor tweaks by @jrfnl in #149
- README: update with information about Composer >= 2.2 by @jrfnl in #141
- Replace deprecated Sensiolabs security checker by @paras-malhotra in #130
- Stabilize a condition by @jrfnl in #127
- Update copyright year by @jrfnl in #138
- Various minor tweaks by @jrfnl in #151
CI/CD
- Change YamlLint config to prevent "truthy" warning. by @Potherca in #144
- GH Actions: PHP 8.1 has been released by @jrfnl in #139
- Travis: line length tweaks by @jrfnl in #128
- CI: Switch to GH Actions by @jrfnl in #137
- CI: various updates by @jrfnl in #140
New Contributors
- @paras-malhotra made their first contribution in #130
Full Changelog: v0.7.1...v0.7.2
Release notes
Open source →Changed
- Add details regarding QA automation in CONTRIBUTING.md file. by [@Potherca] in #133
- Add mention of Composer and PHP compatibility to project README. by [@Potherca] in #132
- Composer: tweak PHPCS version constraint by [@jrfnl] in #152
- CONTRIBUTING: remove duplicate code of conduct by [@jrfnl] in #148
- Document release process by [@Potherca] in #118
- Plugin::loadInstalledPaths(): config-show always shows all by [@jrfnl] in #154
- README: minor tweaks by [@jrfnl] in #149
- README: update with information about Composer >= 2.2 by [@jrfnl] in #141
- Replace deprecated Sensiolabs security checker by [@paras-malhotra] in #130
- Stabilize a condition by [@jrfnl] in #127
- Update copyright year by [@jrfnl] in #138
- Various minor tweaks by [@jrfnl] in #151
- Change YamlLint config to prevent "truthy" warning. by [@Potherca] in #144
- GH Actions: PHP 8.1 has been released by [@jrfnl] in #139
- Travis: line length tweaks by [@jrfnl] in #128
- CI: Switch to GH Actions by [@jrfnl] in #137
- CI: various updates by [@jrfnl] in #140
-
v0.7.107 Dec 2020Release notes
Open source →What's Changed
- Fixed v4 constraint by @GrahamCampbell in #115
- Update code of conduct by @Potherca in #117
- Add remark configuration by @Potherca in #122
- Travis: add build against PHP 8.0 by @jrfnl in #124
- Sort list of installed paths before saving for consistency by @kevinfodness in #126
- Order of
installed_pathsinconsistent between runs #125 - Maintaining this project and Admin rights #113
New Contributors
- @GrahamCampbell made their first contribution in #115
- @kevinfodness made their first contribution in #126
Full Changelog: v0.7.0...v0.7.1
Release notes
Open source →Closed issues
- Order of installed_paths inconsistent between runs #125
- Maintaining this project and Admin rights #113
Changed
- Sort list of installed paths before saving for consistency by [@kevinfodness] in #126
- Update code of conduct by [@Potherca] in #117
- Add remark configuration by [@Potherca] in #122
- Travis: add build against PHP 8.0 by [@jrfnl] in #124
Fixed
- Fixed v4 constraint by [@GrahamCampbell] in #115
-
v0.7.025 Jun 2020Release notes
Open source →What's Changed
- Allow installation on PHP 8 by @jrfnl in #106
- Test with PHPCS 4.x and allow installation when using PHPCS 4.x by @jrfnl in #107
- Composer 2.x compatibility #108
- Fix case of class name by @Seldaek in #109
- Add link to Packagist on main page #110
- Support Composer 2.0 by @jrfnl in #111
- Switch from Travis CI .org to .com #112
New Contributors
Full Changelog: v0.6.2...v0.7.0
Release notes
Open source →Closed issues
- Composer 2.x compatibility #108
- Add link to Packagist on main page #110
- Switch from Travis CI .org to .com #112
Added
Changed
-
v0.6.229 Jan 2020Release notes
Open source →What's Changed
- Bugfix: Composer scripts/commands broken in 0.6.0 update by @BrianHenryIE in #105
New Contributors
- @BrianHenryIE made their first contribution in #105
Full Changelog: v0.6.1...v0.6.2
Release notes
Open source →Fixed
- Composer scripts/commands broken in 0.6.0 update by [@BrianHenryIE] in #105
-
v0.6.127 Jan 2020Release notes
Open source →Closed issues
- Do not exit with code 1 on uninstall (--no-dev) #103
Changed
- Readme: minor tweak now 0.6.0 has been released #102 ([@jrfnl])
Fixed
-
v0.6.019 Jan 2020Release notes
Open source →Closed issues
- Composer PHP version appears not to be respected #79
- Allow a string value for extra.phpcodesniffer-search-depth #82
- Add [@jrfnl] as (co)maintainer to this project #87
Added
- Add support for a string phpcodesniffer-search-depth config value set via composer config by [@TravisCarden] in #85
- Send an exit code when the script terminates by [@jrfnl] in #93
- Verify the installed_paths after save by [@jrfnl] in #97
Changed
- CS: fix compliance with PSR12 by [@jrfnl] in #88
- Improve GH issue template by [@jrfnl] in #94
- Readme: add section about including this plugin from an external PHPCS standard by [@jrfnl] in #95
- Bug report template: further enhancement by [@jrfnl] in #99
- Update copyright year. by [@Potherca] in #101
- Adding linting jobs in github action by [@mjrider] in #96
- GH Actions: minor tweaks: by [@jrfnl] in #100
- Travis: disable Xdebug by [@jrfnl] in #89
- Travis: test against PHP 7.4, not snapshot by [@jrfnl] in #90
- Travis: use a mix of PHPCS versions in the matrix by [@jrfnl] in #91
- Update Travis file and fix build by [@Potherca] in #86
Fixed
-
v0.5.026 Oct 2018Release notes
Open source →Closed issues
- Scan depth as parameter #45
- phpcs: Exit Code: 127 (Command not found) on every Composer command #48
- The composer plugin implementation seems to be breaking the composer lifecycle #49
- Installation error #53
- Broke composer commands when used with wp-cli/package-command #59
- Getting a new stable release #60
- Support PHP CodeSniffer standards in packages installed outside of the vendor directory #63
Added
- Adds the ability to set the max depth from the composer.json file by [@Potherca] in #46
Changed
- Build/PHPCS: update PHPCompatibility repo name by [@jrfnl] in #54
- README: remove VersionEye badge by [@jrfnl] in #55
- README: replace maintenance badge by [@jrfnl] in #56
- Execute phpcs and security-checker from vendor/bin by [@gapple] in #52
- PHPCS: various minor tweaks by [@jrfnl] in #57
- Travis: various tweaks by [@jrfnl] in #58
- Use PHPCompatibility 9.0.0 by [@jrfnl] in #61
- Build/Travis: test builds against PHP 7.3 by [@jrfnl] in #62
- Updates copyright year by [@frenck] in #67
- Enforces PSR12 by [@frenck] in #66
- Updates contact information by [@frenck] in #68
- Updates README, spelling/grammar, removed Working section by [@frenck] in #69
- Replaces ProcessBuilder by ProcessExecutor by [@frenck] in #70
- Refactors relative path logic by [@frenck] in #71
- Removes suggested packages by [@frenck] in #72
- Ensures absolute paths during detection phase by [@frenck] in #73
- Trivial code cleanup by [@frenck] in #74
- Fixes duplicate declaration of cwd by [@frenck] in #75
- Removes HHVM from TravisCI by [@frenck] in #76
- Adds PHP_CodeSniffer version constraints by [@frenck] in #77
Fixed
-
v0.4.406 Dec 2017 -
v0.4.318 Sep 2017Release notes
Open source → -
v0.4.216 Aug 2017 -
v0.4.101 Aug 2017 -
v0.4.011 May 2017Release notes
Open source →Closed issues
- Add support for code standards in root of repository for PHP_CodeSniffer 3.x #26
- Config codings styles in composer.json from project #23
- Check the root package for sniffs to install #20
- Document the ability to execute the main plugin functionality directly #18
- Add a CHANGELOG.md #17
- Install sniffs with relative paths in CodeSniffer.conf #14
Added
- Support for coding standard in the root repository for PHP_CodeSniffer v3.x [#30] ([@frenck])
- Added support for having coding standards in the root package #25 ([@frenck])
Changed
-
v0.3.229 Mar 2017Release notes
Open source →Closed issues
- Coding Standard tries itself to install with installPath when it's the root package #19
Changed
- Improvements to the documentation #22 ([@Potherca])
- Added instanceof check to prevent root package from being installed #21 ([@bastianschwarz])
Fixed
- [#13]: Incorrect coding standards search depth [#15] ([@frenck])
-
v0.3.117 Feb 2017Release notes
Open source →Closed issues
- Plugin not working correctly when sniffs install depth is equal to "1" #13
- Create new stable release version to support wider use #11
Fixed
-
v0.3.015 Feb 2017Release notes
Open source →Implemented enhancements
- Install Plugin provides no feedback #7
- Installing coding standards when executing Composer with --no-scripts #4
- Github contribution templates #10 ([@christopher-hopper])
- Show config actions and a result as Console output #8 ([@christopher-hopper])
- Adds static function to call the Plugin::onDependenciesChangedEvent() method #5 ([@Potherca])
Added
- Support existing standards packages with subfolders #6 ([@christopher-hopper])
Changed
-
v0.2.101 Nov 2016Release notes
Open source →Fixes an issue with having this plugin installed globally within composer, but using your global composer installation on a local repository without PHP_CodeSniffer installed.
Fixed
- Bugfix: Plugin fails when PHP_CodeSniffer is not installed #2 ([@frenck])
-
v0.2.001 Nov 2016Release notes
Open source →For this version on, this installer no longer messes with the installation paths of composer libraries, but instead, it configures PHP_CodeSniffer to look into other directories for coding standards.
Changed
- PHPCS Configuration management #1 ([@frenck])
-
v0.1.124 Oct 2016 -
v0.1.023 Oct 2016