deuteros-php/deuteros

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

Installs: 1 161

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 2

Open Issues: 2

pkg:composer/deuteros-php/deuteros

dev-main 2026-02-09 22:06 UTC

This package is auto-updated.

Last update: 2026-02-09 22:06:08 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