drupal/claude_code
Composer 安装命令:
composer require drupal/claude_code
包简介
Quick bootstrap and best practice for Claude Code within a Drupal project.
README 文档
README
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:
- Drupal-specific guidance in
CLAUDE.md. - Coming soon Slash Commands to package bigger chunks of common functionality.
Installation
Requirements
- Drupal 10+
- Drupal Scaffold (included in
drupal/recommend-projectanddrupal/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:
- Create a CLAUDE.local.md file in your project root
- 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.
drupal/claude_code 适用场景与选型建议
drupal/claude_code 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 12.93k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 03 月 31 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 drupal/claude_code 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 drupal/claude_code 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 12.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-03-31