deuteros-php/deuteros

Drupal Entity Unit Test Extensible Replacement Object Scaffolding - Value-object entity doubles for unit testing

Maintainers

Package info

github.com/deuteros-php/deuteros

pkg:composer/deuteros-php/deuteros

Statistics

Installs: 4 094

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

dev-main 2026-03-26 16:48 UTC

This package is auto-updated.

Last update: 2026-03-26 16:48:48 UTC


README

CI

δεύτερος • (deúteros): second of two

Wikitionary

A PHP library providing value-object entity doubles for Drupal unit testing, allowing you to test code that depends on entity/field interfaces without Kernel tests, module enablement, database access, or service container.

Installation

composer require --dev deuteros-php/deuteros

Documentation

See docs/ for full documentation:

Requirements

  • PHP 8.3+
  • Drupal 10.x or 11.x
  • PHPUnit 9.0+/10.0+/11.0+ or Prophecy 1.15+

License

GPL-2.0 license