Best laravel framework open-source packages.

Protects

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

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
Tags events php