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). Content Translation Redirect Module content_translation_redirect crossed 1,000 active installs.

This project offers a streamlined development environment for Drupal modules, leveraging Nix Package Manager to create a minimal Drupal installation directly within your module's directory. This setup enhances developer productivity by ensuring features like code completion, static analysis tools, and unit testing function correctly within their intended Drupal context.

This project aims to provide a lightweight development environment specifically for developing drupal modules.

The development environment is created by using the awesome Nix Package Manager.

Motivation

Developing drupal modules outside of a working drupal installation can be very cumbersome. This development environment tries to solve this problem by creating a minimal drupal installation directly within the module directory.

This enables the following:

  • Intellisense (LSP) is working again, due to drupal being installed
  • Tools like PHPCS and PHPStan work correctly
  • PHPUnit tests can also be run against the drupal installation
     

How to use

Detailed info about how to use this development environment can be found in the project's Readme: > View Readme <

Activity

Total releases
4
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Feb 14, 2025
1.0.2 Stable Feb 14, 2025
1.0.1 Stable Feb 14, 2025
1.0.0 Stable Dec 13, 2024