2017 © Pedro PelĂĄez
 

library value-matcher

Checks whether two values match.

image

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

The README.md

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

The Versions

16/01 2016

dev-master

9999999-dev

Checks whether two values match.

  Sources   Download

MIT

The Development Requires

16/01 2016

v0.0.5

0.0.5.0

Checks whether two values match.

  Sources   Download

MIT

The Development Requires

18/10 2015

v0.0.4

0.0.4.0

Checks whether two values match.

  Sources   Download

MIT

The Development Requires

18/10 2015

v0.0.1

0.0.1.0

Checks whether two values match.

  Sources   Download

MIT

The Development Requires