Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 839 Bytes

File metadata and controls

26 lines (17 loc) · 839 Bytes

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()){
    //...
}