Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Simple Bash script is faster drupal-ci-local alternative (but without phpunit).
Features
- eslint
- phpcs
- phpstan
- stylelint
- cspell
- Check if README exists
- Check README sections
- Check if hook_help exists
- Check *.info.yml syntax
- And more small checks
- Faster than drupal-ci-local. 1 sec VS 2:30 min for example
Installation (tested on Ubuntu 22.04)
- Install nodejs 18
curl -s https://deb.nodesource.com/setup_18.x | sudo bash
sudo apt install git php8.1-cli php8.1-mbstring php8.1-simplexml php8.1-curl
- Install composer globally
- Download and extract pareviewsh. Go to pareviewsh folder
- Run
composer install
Usage
./pareview.sh GIT-URL [BRANCH]
./pareview.sh DIR-PATH
Examples:
./pareview.sh https://git.drupalcode.org/project/media_gallery.git
./pareview.sh https://git.drupalcode.org/project/media_gallery.git 2.0.x
./pareview.sh sites/all/modules/media_gallery
./pareview.sh web/modules/custom/media_gallery
Supporting organizations:
Project information
- Module categories: Developer Tools
- Created by klausi on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.