Moved Base functionality out to mdcass\support

@mdcass mdcass released this Jan 3, 2017 · 7 commits to master since this release

v1.2.2

Moved Base class functionality to mdcass\support

Downloads

Added shorthand instantiation

@mdcass mdcass released this Dec 28, 2016 · 8 commits to master since this release

The class can be instantiated by passing an array to the constructor of the methods to call.

$validator = new FileValidator([
                    'load' => 'simple.csv',
                    'rules' => [
                                    'required' => [
                                        ['date']
                                    ]
                               ],
                    'distinct' => ['randomelementab'],

                ]);

$results = $validator->execute();

Downloads

Added Accessor and Alias capabilities

@mdcass mdcass released this Dec 27, 2016 · 9 commits to master since this release

Added the ability to alias and transform fields through accessors before validation

Downloads

Added Distinct Values functionality

@mdcass mdcass released this Dec 26, 2016 · 10 commits to master since this release

Added the ability to collect a list of distinct values of any fields in the file under validation, and return in the ResultsBag

Downloads

v1.0

@mdcass mdcass released this Dec 24, 2016 · 11 commits to master since this release

Added ResultsBag and made major API changes

Downloads

Stable release

@mdcass mdcass released this Dec 19, 2016 · 12 commits to master since this release

v0.1

Removed loading dependency in psr-4

Downloads