Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Repository files navigation

sandbox-drupal-module

Build Status codecov PHPStan

This is a minimal example Drupal 10 custom module with automated tests and GitHub Actions integration for CI and code coverage.

  • Example functionality in src/
  • PHPUnit tests in tests/
  • CI and coverage badges above
  • PHPStan static analysis badge above

Usage

Place this module in web/modules/custom/example_module of a Drupal 10 site and enable it.

Testing

Tests run automatically on push to the master branch. To run locally:

composer test

Static Analysis

PHPStan runs automatically in CI. To run locally:

composer analyze

About

An example custom Drupal module with automated tests and GitHub Actions integration for CI and code coverage.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages