Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Claude Code

No security coverage
View on drupal.org

This package helps integrate Claude Code, an AI assistant for software engineering, with your Drupal projects. It offers Drupal-specific guidance and will soon include slash commands for common development tasks.

A package for integrating Claude Code AI assistant with Drupal projects. This package provides guidance and best practices for using Claude Code in Drupal development.

Overview

Claude Code is Anthropic's AI assistant that helps with software engineering tasks. This package enables seamless integration with Drupal by providing:

  1. Drupal-specific guidance in CLAUDE.md.
  2. Coming soon Slash Commands to package bigger chunks of common functionality.

Installation

Requirements

  • Drupal 10+
  • Drupal Scaffold (included in drupal/recommended-project and drupal/cms)
  • Composer

Installation

composer config extra.drupal-scaffold.allowed-packages --json --merge '["drupal/claude_code"]'
composer require --dev drupal/claude_code

Customization

You can customize the CLAUDE.md file for your specific project needs. To override the default file:

  1. Create a CLAUDE.local.md file in your project root
  2. Add project-specific information and guidance

DDEV

If you use DDEV, we recommend using the FreelyGive/ddev-claude-code DDEV add-on. This will handle setting up Claude Code securely inside your DDEV container, include preserving configuration across restarts.

You can install with:

ddev add-on get FreelyGive/ddev-claude-code
ddev restart

To start using Claude code, simply run ddev claude and authenticate. See the project page for more information.

Activity

Total releases
2
First release
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.0 Stable Apr 4, 2025
1.0.x-dev Dev Mar 31, 2025