monii/specification

This package is abandoned and no longer maintained. No replacement package was suggested.

Specification

dev-master / 0.0.x-dev 2016-05-11 16:25 UTC

This package is not auto-updated.

Last update: 2016-11-17 11:23:33 UTC


README

An implementation of the Specification pattern.

Latest Stable Version Total Downloads Latest Unstable Version License
Build Status

Requirements

  • PHP 5.5+
  • A renderer if you need to apply the Specification pattern to persisted data

Installation

$> composer require monii/specification

Until a stable version has been released or if a development version is preferred, use:

$> composer require monii/specification:@dev

Rendering Implementations

By itself, the specification package is able to check individual existing objects to see if a specification is satisfied by the specification. In order to use a specification to query a set of objects not yet in memory you can render a specification into a query.

License

MIT, see LICENSE.

Community

Want to get involved? Here are a few ways:

  • Find us in the #monii IRC channel on irc.freenode.org.
  • Mention @moniidev on Twitter.