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
Requires
- php: >=8.3
Requires (Dev)
- phpspec/prophecy: ^1.15
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.0 || ^10.0 || ^11.0
This package is auto-updated.
Last update: 2026-02-09 22:06:08 UTC
README
δεύτερος • (deúteros): second of two
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:
- Usage Guide - Getting started, API reference, and examples
- Architecture - For contributors and maintainers
Requirements
- PHP 8.3+
- Drupal 10.x or 11.x
- PHPUnit 9.0+/10.0+/11.0+ or Prophecy 1.15+