Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

coder

299 sites Security covered
View on drupal.org

Coder checks your Drupal code against coding standards and other best practices. It can also fix coding standard violations for you with the phpcbf command from PHP_CodeSniffer, see the installation instructions and usage examples. Those checks apply to all versions of Drupal.

Coder is not a module, it is used as command line tool, in IDEs and in automated testing workflows.

Note that Javascript support has been removed. To check and fix Javascript files please use ESLint and see the Drupal ESLint documentation.

Note that CSS support has been removed. To check and fix CSS files please use Stylelint and use the Drupal core .stylelintrc.json configuration file.

Usage

$ phpcs --standard=Drupal example.module 

FILE: /home/klausi/workspace/coder/example.module
--------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------------
 1 | ERROR | [ ] Missing file doc comment
 3 | ERROR | [ ] Missing function doc comment
 4 | ERROR | [ ] Opening brace should be on the same line as the declaration
 5 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
 6 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 3
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Drupal 8 module upgrading

See https://drupal.org/project/drupalmoduleupgrader

Contributing

Please create an issue fork and merge request on drupal.org.

Thank you!

Activity

Total releases
9
First release
Jan 2025
Latest release
1 month ago
Release cadence
52 days
Stability
56% stable

Release Timeline

Releases

Version Type Release date
9.0.0 Stable Mar 13, 2026
9.0.0-beta1 Pre-release Dec 11, 2025
9.0.0-alpha2 Pre-release Nov 23, 2025
9.0.0-alpha1 Pre-release Oct 26, 2025
8.3.31 Stable Oct 19, 2025
9.x-dev Dev Oct 18, 2025
8.3.30 Stable May 26, 2025
8.3.29 Stable May 3, 2025
8.3.28 Stable Jan 19, 2025