library value-matcher
Checks whether two values match.
lukaszmakuch/value-matcher
Checks whether two values match.
- Saturday, January 16, 2016
- by lukaszmakuch
- Repository
- 1 Watchers
- 0 Stars
- 10 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
Value matcher
Allows to check whether two values somehow match., (*1)
Usage
StrictStringMatcher
$m = new \lukaszmakuch\ValueMatcher\String\StrictStringMatcher("Abc");
$m->matches("Abc"); //true
$m->matches("abc"); //false
RegExpStringMatcher
$m = new \lukaszmakuch\ValueMatcher\String\RegExpStringMatcher("@^[a-z]x$@");
$m->matches("cx"); //true
$m->matches("xc"); //false
Installation
Use composer to get the latest version:, (*2)
$ composer require lukaszmakuch/value-matcher
dev-master
9999999-dev
Checks whether two values match.
Sources
Download
MIT
The Development Requires
v0.0.5
0.0.5.0
Checks whether two values match.
Sources
Download
MIT
The Development Requires
v0.0.4
0.0.4.0
Checks whether two values match.
Sources
Download
MIT
The Development Requires
v0.0.1
0.0.1.0
Checks whether two values match.
Sources
Download
MIT
The Development Requires