PHPackages                             korchasa/matcho - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. korchasa/matcho

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

korchasa/matcho
===============

Simple pattern matching for PHP

1.1(6y ago)06.6k[1 issues](https://github.com/korchasa/matcho/issues)1MITPHPPHP &gt;=7.1

Since Aug 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/korchasa/matcho)[ Packagist](https://packagist.org/packages/korchasa/matcho)[ RSS](/packages/korchasa-matcho/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (6)Versions (8)Used By (1)

Simple pattern matching for PHP
===============================

[](#simple-pattern-matching-for-php)

[![Stable Version](https://camo.githubusercontent.com/c7282ed125377b378cf96ef979561a9a439766cdd4d56ac8f0693cd2c1dcb23a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f7263686173612f6d617463686f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/korchasa/matcho)[![Unstable Version](https://camo.githubusercontent.com/a50450bcc01d2c6de1cf625b017216ecdc43490aac5e9bc9863fee4fc4ab38d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6b6f7263686173612f6d617463686f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/korchasa/matcho)[![Build Status](https://camo.githubusercontent.com/7f0a08bbf22cb4441b9ab4439a49b76e82e57a259e850a88355a148bf9ea4797/68747470733a2f2f7472617669732d63692e6f72672f6b6f7263686173612f6d617463686f2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/korchasa/matcho)

Install:
--------

[](#install)

```
composer require korchasa/matcho
```

Usage in tests:
---------------

[](#usage-in-tests)

Use `***` for "any value". Connect asserts by `use AssertMatchedTrait`

```
