Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Claude Code

No security coverage

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.

Ask your assistant about Claude Code

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

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