PHPackages                             michaelbiberich/xmask - 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. michaelbiberich/xmask

ActiveLibrary

michaelbiberich/xmask
=====================

Convert string masks to regular expression patterns

1.0.1(6y ago)26[2 issues](https://github.com/michaelbiberich/xmask/issues)[1 PRs](https://github.com/michaelbiberich/xmask/pulls)MITPHPPHP 7.3.\*CI passing

Since Aug 30Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/michaelbiberich/xmask)[ Packagist](https://packagist.org/packages/michaelbiberich/xmask)[ Docs](https://github.com/michaelbiberich/xmask)[ RSS](/packages/michaelbiberich-xmask/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Xmask *(michaelbiberich/xmask)*
===============================

[](#xmask-michaelbiberichxmask)

[![standard-readme compliant](https://camo.githubusercontent.com/4d148b38f9c13f71b15b80f0bd583698fd5a5ab9bd7dfe61d40e1e30aec35399/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f726561646d652532307374796c652d7374616e646172642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/RichardLitt/standard-readme)

> Convert string masks to regular expression patterns

Table of Contents
-----------------

[](#table-of-contents)

- [Install](#install)
    - [Tests](#tests)
- [Usage](#usage)
- [Maintainers](#maintainers)
- [Contributing](#contributing)
- [License](#license)

Install
-------

[](#install)

Add **xmask** as a dependency to your project with [composer](https://getcomposer.org/).

```
$ composer require michaelbiberich/xmask ^1
```

### Tests

[](#tests)

Tests can be run using [PHPUnit](https://phpunit.de/), see [phpunit.xml.dist](./phpunit.xml.dist).

```
$ phpunit --configuration ./phpunit.xml.dist
```

Usage
-----

[](#usage)

```
