Opis Pattern

Installation, licensing and requirements

This library is abandoned. Please consider using a different library.

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



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


  • PHP 7.0.0 or higher


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"