Buttercup.Protects is a PHP library for building Aggregates that protect business rules, and that announce Domain Events.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Buttercup/Protects apply*() is now when*(), and can be implemented through the When trait. May 8, 2014
tests/Buttercup/Protects/Tests Merge pull request #3 from buttercup-php/when Jun 28, 2014
.gitignore Documented IdentifiesAggregate Feb 16, 2014
.travis.yml don't fail builds on hhvm Mar 11, 2014
LICENSE
README.markdown Update README.markdown Mar 11, 2014
buildDocs.sh travis & builds Feb 18, 2014
composer.json Update composer.json Apr 1, 2014
composer.lock Documented DomainEvent Feb 16, 2014
test.php ToC Mar 15, 2014

README.markdown

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