PHP Libraries › coduo › php-matcher PHP library for advanced pattern matching with powerful features and flexible options
Package Description PHP Matcher is a robust library designed for efficient pattern matching in PHP, offering extensive capabilities for developers. With a user-friendly interface and comprehensive documentation, it enhances the matching process. The library supports complex matching scenarios, making it an ideal choice for various projects.
Classes: Coduo\PHPMatcher\Lexer Coduo\PHPMatcher\Backtrace\InMemoryBacktrace Coduo\PHPMatcher\Backtrace\VoidBacktrace Coduo\PHPMatcher\Backtrace Coduo\PHPMatcher\PHPMatcher Coduo\PHPMatcher\Matcher Coduo\PHPMatcher\Parser Coduo\PHPMatcher\AST\Expander Coduo\PHPMatcher\AST\Type Coduo\PHPMatcher\AST\Pattern Coduo\PHPMatcher\AST\Node Coduo\PHPMatcher\Matcher\DateMatcher Coduo\PHPMatcher\Matcher\ScalarMatcher Coduo\PHPMatcher\Matcher\WildcardMatcher Coduo\PHPMatcher\Matcher\DoubleMatcher Coduo\PHPMatcher\Matcher\ChainMatcher Coduo\PHPMatcher\Matcher\UuidMatcher Coduo\PHPMatcher\Matcher\DateTimeMatcher Coduo\PHPMatcher\Matcher\Matcher Coduo\PHPMatcher\Matcher\NumberMatcher Coduo\PHPMatcher\Matcher\TimeMatcher Coduo\PHPMatcher\Matcher\JsonMatcher Coduo\PHPMatcher\Matcher\OrMatcher Coduo\PHPMatcher\Matcher\ArrayMatcher Coduo\PHPMatcher\Matcher\Pattern\Assert\Xml Coduo\PHPMatcher\Matcher\Pattern\Assert\Json Coduo\PHPMatcher\Matcher\Pattern\Expander\IsUrl Coduo\PHPMatcher\Matcher\Pattern\Expander\Optional Coduo\PHPMatcher\Matcher\Pattern\Expander\GreaterThan Coduo\PHPMatcher\Matcher\Pattern\Expander\InArray Coduo\PHPMatcher\Matcher\Pattern\Expander\IsTzOffset Coduo\PHPMatcher\Matcher\Pattern\Expander\IsTzAbbreviation Coduo\PHPMatcher\Matcher\Pattern\Expander\After Coduo\PHPMatcher\Matcher\Pattern\Expander\IsDateTime Coduo\PHPMatcher\Matcher\Pattern\Expander\Before Coduo\PHPMatcher\Matcher\Pattern\Expander\DateTimeComparisonTrait Coduo\PHPMatcher\Matcher\Pattern\Expander\IsTzIdentifier Coduo\PHPMatcher\Matcher\Pattern\Expander\HasProperty Coduo\PHPMatcher\Matcher\Pattern\Expander\ExpanderMatch Coduo\PHPMatcher\Matcher\Pattern\Expander\IsInDateFormat Coduo\PHPMatcher\Matcher\Pattern\Expander\MatchRegex Coduo\PHPMatcher\Matcher\Pattern\Expander\NotContains Coduo\PHPMatcher\Matcher\Pattern\Expander\LowerThan Coduo\PHPMatcher\Matcher\Pattern\Expander\IsEmpty Coduo\PHPMatcher\Matcher\Pattern\Expander\OneOf Coduo\PHPMatcher\Matcher\Pattern\Expander\Contains Coduo\PHPMatcher\Matcher\Pattern\Expander\IsIp Coduo\PHPMatcher\Matcher\Pattern\Expander\Repeat Coduo\PHPMatcher\Matcher\Pattern\Expander\IsEmail Coduo\PHPMatcher\Matcher\Pattern\Expander\EndsWith Coduo\PHPMatcher\Matcher\Pattern\Expander\BacktraceBehavior Coduo\PHPMatcher\Matcher\Pattern\Expander\StartsWith Coduo\PHPMatcher\Matcher\Pattern\Expander\IsNotEmpty Coduo\PHPMatcher\Matcher\Pattern\Expander\Count Coduo\PHPMatcher\Matcher\Pattern\Pattern Coduo\PHPMatcher\Matcher\Pattern\RegexConverter Coduo\PHPMatcher\Matcher\Pattern\TypePattern Coduo\PHPMatcher\Matcher\Pattern\PatternExpander Coduo\PHPMatcher\Matcher\JsonObjectMatcher Coduo\PHPMatcher\Matcher\ExpressionMatcher Coduo\PHPMatcher\Matcher\StringMatcher Coduo\PHPMatcher\Matcher\ArrayMatcher\StringDifference Coduo\PHPMatcher\Matcher\ArrayMatcher\Diff Coduo\PHPMatcher\Matcher\ArrayMatcher\ValuePatternDifference Coduo\PHPMatcher\Matcher\ArrayMatcher\Difference Coduo\PHPMatcher\Matcher\ValueMatcher Coduo\PHPMatcher\Matcher\XmlMatcher Coduo\PHPMatcher\Matcher\IntegerMatcher Coduo\PHPMatcher\Matcher\CallbackMatcher Coduo\PHPMatcher\Matcher\TimeZoneMatcher Coduo\PHPMatcher\Matcher\UlidMatcher Coduo\PHPMatcher\Matcher\BooleanMatcher Coduo\PHPMatcher\Matcher\NullMatcher Coduo\PHPMatcher\Matcher\TextMatcher Coduo\PHPMatcher\Exception\Exception Coduo\PHPMatcher\Exception\InvalidExpanderTypeException Coduo\PHPMatcher\Exception\UnknownExpanderException Coduo\PHPMatcher\Exception\InvalidArgumentException Coduo\PHPMatcher\Exception\UnknownTypeException Coduo\PHPMatcher\Exception\UnknownExpanderClassException Coduo\PHPMatcher\Exception\PatternException Coduo\PHPMatcher\PHPUnit\PHPMatcherConstraint Coduo\PHPMatcher\PHPUnit\PHPMatcherTestCase Coduo\PHPMatcher\PHPUnit\PHPMatcherAssertions Coduo\PHPMatcher\Factory Coduo\PHPMatcher\Factory\MatcherFactory Coduo\PHPMatcher\Parser\ExpanderInitializer Coduo\PHPMatcher\Value\SingleLineString Close Code Integration Example Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/coduo/php-matcher/6.0.17/loader.php';
use Coduo\PHPMatcher\Matcher;
use Coduo\PHPMatcher\Parser;
use Coduo\PHPMatcher\Backtrace;
$obj = new Matcher();
echo '✅ Test OK: ' . get_class($obj);
?>
Report a broken download or code We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion Ask questions, share tips, or report issues below.