A powerful IntelliJ IDEA (PHPStorm, WebStorm) plugin for Drupal project maintainers.
- Open Settings → Plugins
- Search for "Drupal Toolkit"
- Click Install
- Restart IDE
- Build the plugin:
./gradlew buildPlugin - Download the zip from
build/distributions/ - Open Settings → Plugins → ⚙ → Install Plugin from Disk
- Select the zip file and restart IDE
The plugin works with Drupal projects that have a composer.json file.
- Menu: View → Tool Windows → Drupal Toolkit
- Shortcut:
Ctrl+Shift+A→ type "Drupal Toolkit"
Automatically detects the Drupal project type:
- Module (
type: project-module) - Theme (
type: project-theme) - Distribution (
type: project-distribution) - Core (Drupal core itself)
- Custom (custom project, not on Drupal.org)
Displays stats from Drupal.org:
- Machine name and type
- Version and compatibility
- Link to Drupal.org project page
Browse issues from Drupal.org:
- Filter by status, priority, component
- Paginated list (20 per page)
- Click to open issue in browser
- Apply Patch: Download and apply patches from issues
Checks for required files:
composer.jsonREADME.mdorREADME.txt.gitlab-ci.yml*.info.yml(for modules/themes)
Manage local DDEV instances:
- Start/Stop/Restart - Control DDEV
- Describe - View project config
- Logs - View container logs
- SSH - Open terminal in container
Requirements:
- DDEV installed (
ddev --version) - Project has
.ddev/config.yaml
Git operations and GitLab integration:
- Fetch - Pull latest changes
- Create Branch - Create new branch
- Commit - Stage and commit with conventional commit validation
- Push - Push to remote
- Shows current branch
- Lists recent commits
- Shows open merge requests from GitLab
- Shows CI pipeline status
Requirements:
- GitLab API token (optional, for GitLab features)
Run GitLab CI jobs locally:
- Click Run All CI Jobs in Pipelines tab
- Select a job from the dropdown
- Watch output in the text area
Access via Settings → Tools → Drupal Toolkit
Enable/disable tabs in the tool window:
- Project Detection
- Project Information
- Issues Browser
- Patch Management
- DDEV Integration
- GitLab Integration
- Validation Tools
- Testing Tools
- Security Audit
- AI Assistant
- Help & Onboarding
- Show Debug Messages - Enable debug notifications
- GitLab Token - For GitLab API access (optional)
- Default Drupal Version - Default version for new projects
- DDEV Path - Custom path to DDEV binary (optional)
Enable debug messages to troubleshoot:
- Go to Settings → Tools → Drupal Toolkit
- Enable Show Debug Messages
- Click Apply
Debug messages show:
- API calls being made
- Errors and warnings
- Plugin activity
Messages appear as IDE notifications.
| Action | Windows/Linux | macOS |
|---|---|---|
| Open Tool Window | Ctrl+Shift+A |
Cmd+Shift+A |
| Refresh Project | Ctrl+R |
Cmd+R |
- Ensure you're in a Drupal project with
composer.json - Check the composer.json has valid project type
- Install DDEV: https://ddev.com/get-started/
- Ensure
.ddev/config.yamlexists in project root
- Add GitLab token in Settings → Drupal Toolkit → API Configuration
- Token requires
read_apiscope
- Check Settings → Plugins - ensure enabled
- Check Settings → Tools - ensure Drupal Toolkit configured
- Review Event Log: View → Tool Windows → Event Log
# Clone
git clone https://github.com/drupaltools/drupal-toolkit.git
# Build plugin
./gradlew buildPlugin
# Run in IDE
./gradlew runIde
# Run tests
./gradlew testGPL v2 - See LICENSE file.