/protects

Buttercup.Protects is a PHP library for building Aggregates that protect business rules, and that announce Domain Events.

Primary LanguagePHPMIT LicenseMIT

Buttercup.Protects

Buttercup.Protects is a PHP library for building Aggregates that protect business invariants, and that record Domain Events.

Build Status

Documentation

http://buttercup-php.github.io/protects

Generate the docs with Docco:

npm install -g docco
docco tests/Buttercup/Protects/Tests/*

Tests

The documentation doubles as a test suite.

php test.php