About

Opis Pattern is a small library which helps you convert patterns to regex expressions.

Features

License

Opis Pattern is licensed under the Apache License, Version 2.0.

Requirements

  • PHP 7.0.0 or higher

Installation

Opis Pattern is available on Packagist and can be installed from a command line interface by using Composer.

composer require opis/pattern

Or you could directly reference it into your composer.json file as a dependency

{
    "require": {
        "opis/pattern": "^1.0.0"
    }
}