PHP Specification library.
Specification library in PHP.
A post detailing the usage in more detail will be available soon.
In your project root just run:
$ composer require arete/specification
Make sure that you’ve set up your project to autoload Composer-installed packages.
Run via the command line by going to
arete/specification directory and running
- ::asQuery() for use with db, whether it uses argument, or sep methods
- abstract part of the Collection Pipeline matching into default/premades
(I have had this written since I read the DDD books, I updated it a little and just found an old one by @mathiasverraes which was interesting!)