ddliu/wildcards

Simple wildcards

v0.1.0 2014-12-21 15:05 UTC

This package is auto-updated.

Last update: 2024-04-13 21:23:33 UTC


README

Simple wildcards in PHP.

Installation

composer require ddliu/wildcards

Usage

use ddliu\wildcards\Wildcards;

$wildcards = new Wildcards('http://google.com/search/*');
var_dump($wildcards->match('http://google.com/search/php')); // true