PHPackages                             reformo/backendbase-specification - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. reformo/backendbase-specification

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

reformo/backendbase-specification
=================================

Basic classes for Specification pattern with Notification pattern in PHP.

1.0(1y ago)02.1k1MITPHPPHP ^8.3

Since Jul 25Pushed 1y agoCompare

[ Source](https://github.com/reformo/backendbase-specification)[ Packagist](https://packagist.org/packages/reformo/backendbase-specification)[ RSS](/packages/reformo-backendbase-specification/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

PHP Specification
=================

[](#php-specification)

Basic classes for [Specification pattern](https://en.wikipedia.org/wiki/Specification_pattern) in PHP. On top of the typical set of `and`, `or` and `not` specificaitons, `anyOf`, `oneOf`, `noneOf` specifications are proposed.

This package is based on the implementation in [carlosbuenosvinos/ddd](https://github.com/dddinphp/ddd).

Installation
------------

[](#installation)

```
$ composer require reformo/backendbase-specification

```

Usage example
-------------

[](#usage-example)

```
