Simple and extensible PHP library for text analysis and pattern matching, designed to help developers probe, parse, and manipulate text efficiently.
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 75/100 with only 13 stars
// how to help
// readme
TextProbe
TextProbe is a simple and extensible PHP library for text analysis and pattern matching. Designed to help developers probe, parse, and manipulate text efficiently using customizable rules and matchers.
Features
- ๐ง Easy-to-use API for text matching and parsing
- ๐ง Extensible architecture โ write your own matchers and rules
- ๐ก Suitable for parsing logs, user input, or any structured text
Installation
TextProbe supports PHP 8.1 through PHP 8.6 and requires the mbstring extension.
CI runs static analysis on PHP 8.6 and PHP CS Fixer on PHP 8.5.
You can install the library via Composer:
composer require makarms/text-probe
Available Probes
TextProbe includes a wide range of built-in probes. Probes are fully extensible and support custom validation via the IProbe and IValidator interfaces.
See the Probe Index for the full categorized list.