PHPackages                             zombietfk/thatcher - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zombietfk/thatcher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zombietfk/thatcher
==================

A pattern matcher for arguments and arrays of data. Supports callbacks based on passed set

0.1.1(6y ago)22PHPPHP ^7.2

Since Apr 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zombietfk/Thatcher)[ Packagist](https://packagist.org/packages/zombietfk/thatcher)[ RSS](/packages/zombietfk-thatcher/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Thatcher
========

[](#thatcher)

A PHP pattern matcher for arguments and arrays of data

Thatcher matches data sets of data and based on that data runs a callback

I was inspired by functionality in other langauges like haskell and rust to make functionality availiable in a langauge like php, even if it's only something basic

Here is a short section with a quick example of a basic implementaion

```
