Skip to content

labi-le/text-matcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-matcher

GitHub license Packagist Stars Packagist Stats

Документация на русском языке

Installation

composer require labile/text-matcher

A simple string comparison library

<?php

declare(strict_types=1);

use Astaroth\TextMatcher;

$textMatcher = new TextMatcher("i love Katya", "love", TextMatcher::CONTAINS);
if ($textMatcher->compare()){
    //...
}