{"id":20746028,"url":"https://github.com/vijaycs85/drupal-quality-checker","last_synced_at":"2026-01-27T06:01:09.342Z","repository":{"id":27398109,"uuid":"113746359","full_name":"vijaycs85/drupal-quality-checker","owner":"vijaycs85","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-12T10:06:27.000Z","size":739,"stargazers_count":52,"open_issues_count":13,"forks_count":38,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-18T00:32:39.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vijaycs85.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-12-10T12:02:03.000Z","updated_at":"2024-09-30T19:42:15.000Z","dependencies_parsed_at":"2024-01-14T09:17:36.741Z","dependency_job_id":"13b92a70-77f5-4028-9ee8-7fae34bde622","html_url":"https://github.com/vijaycs85/drupal-quality-checker","commit_stats":{"total_commits":46,"total_committers":8,"mean_commits":5.75,"dds":"0.34782608695652173","last_synced_commit":"9c6d10367c3a2fe88e14f0d25ea36a0c9db1d1a7"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/vijaycs85/drupal-quality-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaycs85%2Fdrupal-quality-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaycs85%2Fdrupal-quality-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaycs85%2Fdrupal-quality-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaycs85%2Fdrupal-quality-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vijaycs85","download_url":"https://codeload.github.com/vijaycs85/drupal-quality-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaycs85%2Fdrupal-quality-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28805316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T05:43:52.625Z","status":"ssl_error","status_checked_at":"2026-01-27T05:43:48.957Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T07:23:47.123Z","updated_at":"2026-01-27T06:01:09.285Z","avatar_url":"https://github.com/vijaycs85.png","language":null,"funding_links":[],"categories":["Scripts"],"sub_categories":["Git hooks"],"readme":"# Drupal Code Quality Checker\n---\n\n## Overview\n\nProvides set of libraries to easily setup code quality checks based on [GrumPHP](https://github.com/phpro/grumphp) for Drupal module/theme/profile. Check out this [Lullabot article](https://www.lullabot.com/articles/how-enforce-drupal-coding-standards-git) for more details.\n\n\u003e*Note:* This library aim to help contributed/custom Drupal module/theme/profile hosted in individual git repository.\n\n\n## Install\n\n1. Add `vijaycs85/drupal-quality-checker` to `composer.json` (like [here](https://github.com/vijaycs85/modal_config/blob/8.x-1.x/composer.json#L21)) or just `composer require --dev vijaycs85/drupal-quality-checker`\n2. Replace `grumphp.yml` in project's root directory (not Drupal root directory) with `vendor/vijaycs85/drupal-quality-checker/grumphp.yml.dist`\n\nThat's it. Now, all tasks (listed below) run on every `git commit`.\n\n\u003e*Note:* As part of install, GrumPHP adds `pre-commit` hook to repository. Existing `pre-commit` might get [destroyed](https://github.com/phpro/grumphp/issues/416) when install/uninstall.\n\n## Features\n\n1. [PHPCS](https://github.com/squizlabs/PHP_CodeSniffer) with Drupal standard.\n1. [PHP Lint](http://www.icosaedro.it/phplint/)\n1. [YAML Lint](http://www.yamllint.com/)\n1. [Composer](https://github.com/composer/composer)\n1. [Composer Normalize](https://github.com/ergebnis/composer-normalize)\n1. [JSONLint](https://jsonlint.com/)\n1. [PHP Copy/Paste Detector (CPD)](https://github.com/sebastianbergmann/phpcpd)\n\nLong list of additional checks/validators available [here](https://github.com/phpro/grumphp/blob/master/doc/tasks.md#tasks-1).\n\n## Sample\n\n### Pass\n![drupal-quality-checker-pass](./docs/images/drupal-quality-checker-pass.png)\n\n### Fail\n![drupal-quality-checker-fail](./docs/images/drupal-quality-checker-fail.png)\n\n## Demo\nImplemented in [Modal Configuration](https://github.com/vijaycs85/modal_config) module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijaycs85%2Fdrupal-quality-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvijaycs85%2Fdrupal-quality-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijaycs85%2Fdrupal-quality-checker/lists"}