Coder 9.0.0-alpha1 Launches with PHP CodeSniffer 4 Support and API Overhaul
Coder, the canonical Drupal coding standards tool, has released version 9.0.0-alpha1 to initiate support for PHP CodeSniffer 4. The new alpha marks the start of significant internal changes and API breakage, opening the floor for developer feedback.
Announced by longtime contributor Klaus Purer, Principal Engineer at Jobiqo, Coder 9 will undergo a series of deliberate API updates in alignment with its upstream dependency. The release is explicitly flagged as unstable, with Purer inviting contributors to raise any issues or needed changes while the module is still in alpha.
This transition reflects Coder’s close integration with PHP CodeSniffer, which itself recently moved to version 4. Developers are encouraged to begin testing and adapt any tools or workflows that rely on Coder’s plugin architecture.
To install the alpha via Composer:
composer require 'drupal/coder:^9.0@alpha'While ZIP and tar.gz packages are available for manual download, Composer remains the recommended method for all supported Drupal versions.
Full API changes are being tracked at: #3552621: Release new Coder 9 major upgrade.
Developer input is essential as the module evolves. Those relying on Coder for automated coding standards enforcement are encouraged to test version 9.0.0-alpha1 and participate in the issue queue while API changes are still in progress.


