Advertising sustains the DA. Ads are hidden for members. Join today
Develop
- Local server setup
- Development tools
- Using Composer
- Git version control system
- Managing a drupal.org theme, module, or distribution project
- Security
- Drupal project issues
- Usability testing
- Profiling Drupal
- [Obsolete] Coding standards
- User interface standards
- Theming Drupal
- Creating custom modules
- Drupal APIs
- Automated Testing
- Upgrading and converting Drupal 7 modules
- Core modules and themes
- External Libraries in Core
- Mobile guide
- Decoupled Drupal
Local server setup
A local server environment is recommended for Drupal development. It lets you work offline, safely experiment, and tailor your dev stack as needed.
DDEV: The recommended dev tool
DDEV is the recommended local development tool for Drupal. It supports macOS, Linux, and Windows, and provides:
- Easy project setup
- Consistent, Docker-based environments
- Built-in Composer, HTTPS and mail support
- Drush, Mailpit and Xdebug integration
Install Drupal without Docker or review other options below.
Docker-based development environments for macOS, Linux, and Windows
While DDEV is recommended, Drupal is supported by other Docker-based tools.
Windows development environment
Set up a local server for Drupal development on Windows.
Managing mail on a local server
Options to safely capture and debug email locally in Drupal without sending messages to real users during development.
Enable verbose error logging
Enabling detailed backtracing can help shed more light on the causes of warnings and errors.