apie/regex-tools
Utility package from the Apie ecosystem that provides internal tools for working with regular expressions in PHP, including helpers for building and validating regex patterns. Maintained in the Apie monorepo; primarily intended for internal use.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| apie/regex-value-objects | 0.85 | — | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| niklongstone/regex-reverse | 0.84 | Generate random strings that match a given PCRE-style regex. Supports common character classes (\d, \w, \s), ranges, groups, alternation, and quantifiers (*, +, ?, {n,m}). Simple API: RegRev::generate($pattern). | 103 | 105 | 8 | 3K | 2 | 3.0 | 19.5 | MIT | 11 years ago | |
| php-standard-library/regex | 0.83 | Type-safe regex for PHP with typed capture groups and predictable error handling. Build expressions with confidence, get structured match results, and avoid silent failures common in preg_* functions. Part of PHP Standard Library. | 1 | 1 | 0 | 26K | 0 | 20.1 | 64.3 | MIT | 3 weeks ago | |
| s9e/regexp-builder | 0.83 | Generate compact regular expressions that match a given list of strings (ideal for keyword search). Builds optimized patterns like ba[rz]|foo from input terms, with factories for PHP, Java, JavaScript, RE2, plus RawBytes/RawUTF8 output modes. | 35 | 36 | 3 | 72K | 0 | 5.1 | 45.6 | MIT | 3 years ago | |
| apie/dateformat-to-regex | 0.82 | Converts PHP date() format strings into “simple” regular expressions for validating date/time strings. Generates regex that matches the format pattern (not full calendar validation, e.g., may accept 30 February). Includes a static DateFormatToRegex::formatToRegex() helper. | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| ilario-pierbattista/reverse-regex | 0.82 | Generate example strings from regular expressions in PHP—useful for test data for forms, databases, and regex validation. Includes lexer/parser and random generators, supports literals, groups, classes, ranges, and quantifiers (with some Unicode/PCRE limits). | 2 | 3 | 2 | 2K | 0 | 17.2 | 43.8 | MIT | 2 months ago | |
| composer/pcre | 0.82 | Type-safe wrapper around PHP’s preg_* functions. Composer\Pcre\Preg prevents silent PCRE failures, standardizes return types (PREG_UNMATCHED_AS_NULL), and improves static analysis with a PHPStan extension for regex-aware typing. | 704 | 703 | 15 | 11M | 0 | 31.4 | 64.8 | MIT | 1 week ago | |
| icomefromthenet/reverse-regex | 0.82 | Generate sample strings from regular expressions for test data and validation. ReverseRegex parses a supported subset of regex syntax (literals, groups, character classes, quantifiers, escapes, some Unicode via \X{####}) and outputs randomized matching text via PHP generators. | 136 | 138 | 38 | 2K | 4 | 3.2 | 19.2 | MIT | — | |
| coduo/php-matcher | 0.82 | Flexible PHP pattern-matching library for testing and validating complex data structures. Compare arrays, JSON and objects against readable expectations, with rich mismatch descriptions to pinpoint differences. Useful for API response assertions and custom validation rules. | 843 | 846 | 85 | 229K | 4 | 26.5 | 37.9 | MIT | 6 months ago | |
| alexeyshockov/pattern-matcher | 0.81 | Lightweight PHP pattern-matching utility by Alexey Shockov. Helps compare values against defined patterns and execute matching logic, enabling cleaner conditional flows than nested if/switch statements. Suitable for small libraries and framework-agnostic use. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| spatie/regex | 0.80 | Cleaner, safer wrapper around PHP’s preg_* functions. Provides Regex::match/matchAll/replace with MatchResult objects, easy access to groups, sensible defaults, and callback-based replacements—no by-reference variables or confusing false/null error handling. | 1,120 | 1,133 | 50 | 946K | 0 | 11.6 | 40.4 | MIT | 4 years ago | |
| apie/common | 0.75 | — | 0 | 0 | 0 | 22 | 0 | 0.0 | 18.8 | MIT | — | |
| apie/console | 0.75 | — | 0 | 0 | 0 | 22 | 0 | 0.0 | 18.8 | MIT | — | |
| apie/apie-bundle | 0.75 | — | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | MIT | — | |
| apie/rest-api | 0.75 | — | 0 | 0 | 0 | 22 | 0 | 0.0 | 18.8 | MIT | — | |
| apie/text-value-objects | 0.74 | — | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| apie/schema-generator | 0.74 | Generates JSON Schema components from PHP objects with type hints, tailored for Apie entities, value objects, DTOs, enums, lists, and hashmaps. Produces cebe/php-openapi schema objects, focusing on schema sections (not full OpenAPI documents). | 0 | 0 | 0 | 22 | 0 | 0.0 | 18.8 | MIT | — | |
| apie/cms | 0.72 | — | 0 | 0 | 0 | 22 | 2 | 0.4 | 18.8 | MIT | — | |
| apie/common-value-objects | 0.72 | Common value objects for the Apie ecosystem: ready-to-use PHP enums (e.g., Gender) and identifier base classes (e.g., UUID v4) for entities, fields, or composite value objects. Designed to be extended and used as examples in your own domain. | 0 | 0 | 0 | 20 | 0 | 0.0 | 18.3 | MIT | — |
How can I help you explore Laravel packages today?