labi-le / text-matcher

A simple string comparison library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple string comparison library

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 100.0%