Libraries tagged by Pattern Matching

cline/globby

0 Favers
0 Downloads

User-friendly glob matching for PHP with negation patterns, directory expansion, and gitignore support

Go to Download


hilalahmad/string-util

0 Favers
9 Downloads

php-string-util is a versatile PHP library designed to simplify and enhance string manipulation tasks in your PHP projects. Whether you're working on web development, data processing, or any other application requiring robust string handling, this utility provides a comprehensive set of functions.

Go to Download


benchmarkeducation/matchmaker

0 Favers
31 Downloads

Ultra-fresh PHP matching functions

Go to Download


shopbase/regex

0 Favers
2 Downloads

This is a package which allows PHP Regex usage without much setup. You can use the static functions as like as the default preg_* functions and they will give you a match object with a lot of functions to evaluate the matches.

Go to Download


stougeiro/event

0 Favers
1 Downloads

Lightweight event dispatcher with wildcard pattern matching and automatic deduplication. Dispatch string-based events, register invokable listeners, and load configurations from PHP files — all with zero cache overhead.

Go to Download


leocore/router

1 Favers
5 Downloads

Lightweight PHP 8.2+ routing library with pattern matching, parameter extraction, middleware support, and secure dispatching.

Go to Download


ht2/couple

0 Favers
18 Downloads

Port of ryansmith94/couple from JS to PHP. A library for coupling two objects together. This is useful for nested pattern matching.

Go to Download


docile/routing

0 Favers
8 Downloads

Docile attribute and fluent router with pattern matching, URL generation, and middleware support.

Go to Download


bonfim/router

2 Favers
17 Downloads

A fast and powerful router that maps route callbacks to specific HTTP request methods and URIs. It supports parameters and pattern matching

Go to Download


guide42/traba

1 Favers
6 Downloads

An alternative to common pattern matching to route an URL to a resource

Go to Download


drupal-eca-recipe/eca_lib_0004

0 Favers
77 Downloads

Demonstrates how to express an if/elseif/else decision in an ECA model, the pattern people usually reach for when they want a PHP switch statement. ECA has neither a switch construct nor a working exclusive gateway, so the model uses the sentinel-default idiom instead: it assigns the default value up front, lets a matching branch overwrite it, and then, one hop downstream, tests whether the value is still the default in order to detect that nothing matched. Along the way it demonstrates the four-links-to-one-target OR idiom, in which several conditioned links leaving the same predecessor point at the same successor, so that any one of them is enough to run it.

Go to Download


casnerano/amqp-topic-match

2 Favers
9 Downloads

A utility for matching routing keys to AMQP-style topic patterns.

Go to Download


marionnewlevant/match-input

3 Favers
6092 Downloads

Craft field type for text fields that match a regex pattern

Go to Download


born05/craft-matchinput

0 Favers
154 Downloads

Craft field type for text fields that match a regex pattern

Go to Download


php-ai/php-ml

106 Favers
2046103 Downloads

PHP-ML - Machine Learning library for PHP

Go to Download


<< Previous Next >>