-
danielspeicher authoreddanielspeicher authored
index.md 1.92 KiB
title: Composer Plugin Drupal Development Environment
repo: https://gitlab.lakedrops.com/composer/plugin/drupal-development-environment
issues: https://gitlab.lakedrops.com/composer/plugin/drupal-development-environment/-/issues
tags:
- composer
- testing
Drupal Development Environment
In addition to the Drupal Environment, this tool can be installed when developing Drupal modules, themes or styling pages. This composer plugin builds all necessary infrastructure for a Drupal project to make development very handy. To get more information about tools, see L3D and Drupal Projects.
Testing
It provides a massive amount of testing tools, which can be executed out of the box using Ahoy. To get an overview, just execute:
a test --help
This will print out a list with all available tools:
- Dependency Analysis
- PHP Unit
- PHP Code Sniffer
- PHPStan
- PHP Lint
- PHP LOC
- PHP Mess Detector
- PHP Metrics
- Stylelint
- Eslint
- Cspell
Working with Themes
The development plugin provides tools, that are common for working with themes in Drupal:
Now you can create or use existing package.json
or gulp.js
files for building your css
, e.g.
using Sass. See more information here.