PHPackages                             ericksonreyes/ddd-phpspec-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. ericksonreyes/ddd-phpspec-helper

ActiveLibrary[Testing &amp; Quality](/categories/testing)

ericksonreyes/ddd-phpspec-helper
================================

PHPSpec helper for creating Domain Driven Design related classes and tests.

v1.1.0(6y ago)2251MITPHPPHP &gt;=7.2

Since Apr 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ericksonreyes/ddd-phpspec-helper)[ Packagist](https://packagist.org/packages/ericksonreyes/ddd-phpspec-helper)[ RSS](/packages/ericksonreyes-ddd-phpspec-helper/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (3)Versions (8)Used By (0)

DDD PhpSpec Helper
------------------

[](#ddd-phpspec-helper)

PhpSpec helper for generating domain event and entity specification and implementation classes.

[![License](https://camo.githubusercontent.com/547546fd0893443406b3d09b8f8f4e3f03a8e77d881839ad4c43a84df21e60d6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f657269636b736f6e72657965732f6464642d706870737065632d68656c7065722e737667)](LICENSE.MD)[![Packagist Version](https://camo.githubusercontent.com/ddd15a7d59c2c74d0f85b90fef5541a018a6124ca280d79c28115a7908b28dc3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657269636b736f6e72657965732f6464642d706870737065632d68656c7065722e737667)](https://packagist.org/packages/ericksonreyes/ddd-phpspec-helper)[![Last Commit](https://camo.githubusercontent.com/bfbe627c35eedcd0fd79335938c2e354b178ae817d52f9fb121ff1abad648d07/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f657269636b736f6e72657965732f6464642d706870737065632d68656c7065722e737667)](https://github.com/ericksonreyes/ddd-phpspec-helper/commits/master)[![Stable Version](https://camo.githubusercontent.com/f0e64540b8e81808c848be96f94aa66c2dd7bde8f358565dd4959c7901dd282b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f657269636b736f6e72657965732f6464642d706870737065632d68656c7065722e737667)](https://github.com/ericksonreyes/ddd-phpspec-helper/tags)[![PHP Version](https://camo.githubusercontent.com/0278570b3f9c22043e86cb9fa261c0e5b861a3ec9fdca2673f6bae5d6720b3cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f657269636b736f6e72657965732f6464642d706870737065632d68656c7065722e737667)](https://github.com/ericksonreyes/ddd-phpspec-helper/tags)[![Downloads](https://camo.githubusercontent.com/5510c709931656338f14fcfebb7ffdf381ffb6c8c9bfc8ba5fa0e5fad7833480/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f657269636b736f6e72657965732f6464642d706870737065632d68656c7065722f746f74616c2e737667)](https://github.com/ericksonreyes/ddd-phpspec-helper/tags)[![Installations](https://camo.githubusercontent.com/e1ac4ab4f3b080f4511bf7ce1c769b0f87a7259fd660d015beba10775601a0a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f657269636b736f6e72657965732f6464642d706870737065632d68656c7065722e737667)](https://packagist.org/packages/ericksonreyes/ddd-phpspec-helper)

How to install
--------------

[](#how-to-install)

```
composer require ericksonreyes/ddd-phpspec-helper
```

How to use
----------

[](#how-to-use)

```
bin/phpspec entity MyDomain/EntityName
bin/phpspec event MyDomain/EventName
bin/phpspec command MyApplication/Command/WipeFileSystem
bin/phpspec handler MyApplication/Handler/WipeFileSystemHandler
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

7

Last Release

2519d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1decea575726ca298dcad75c9f11bdfac28700389103cd5103777f4635d588be?d=identicon)[ericksonreyes](/maintainers/ericksonreyes)

---

Top Contributors

[![ericksonreyes](https://avatars.githubusercontent.com/u/841321?v=4)](https://github.com/ericksonreyes "ericksonreyes (12 commits)")

---

Tags

helpersphp7phpspectddunit-testing

### Embed Badge

![Health badge](/badges/ericksonreyes-ddd-phpspec-helper/health.svg)

```
[![Health](https://phpackages.com/badges/ericksonreyes-ddd-phpspec-helper/health.svg)](https://phpackages.com/packages/ericksonreyes-ddd-phpspec-helper)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M571](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
