Packages from php-regex · Transparency log
-
PHP
php-regex/php-regex
A PCRE regex parser with lexer, AST builder, validation, ReDoS analysis, and syntax highlighting. Zero runtime dependencies.
-
PHP
php-regex/regex-automata
Compiles the regular subset of PCRE to automata to compare languages: equivalence, intersection, subset and example strings.
-
PHP
php-regex/regex-cli
The regex console: sixteen subcommands to parse, explain, validate, lint, hunt ReDoS, transpile, diagram and debug patterns — also shipped as a self-updating regex.phar.
-
PHP
php-regex/regex-explain
Explains, highlights and draws regex ASTs: plain text and HTML explanations, console and HTML highlighting, ASCII trees, Mermaid and railroad diagrams.
-
PHP
php-regex/regex-generator
Generates sample strings and test cases that a regex matches or rejects.
-
PHP
php-regex/regex-language-server
A Language Server for the regex patterns of PHP files: diagnostics, hovers, completions and code actions in any LSP editor.
-
PHP
php-regex/regex-laravel
Laravel integration for PHPRegex: the Regex service and facade, and the regex:lint, regex:routes, regex:explain, regex:compare and regex:transpile commands.
-
PHP
php-regex/regex-linter
Lints the regex patterns of a PHP code base: extraction from PHP sources, lint rules, ReDoS and validity checks, reports in console, JSON, GitHub, Checkstyle and JUnit formats.
-
PHP
php-regex/regex-optimizer
Rewrites regex patterns into shorter equivalents and modernizes old syntax; equivalence can be proven, opt-in, by regex-automata.
-
PHP
php-regex/regex-parser
The PCRE2 regex parser: lexer, immutable AST, validator that answers as PHP's PCRE2 would for a chosen release, AST cache and the small AST analyses.
-
PHP
php-regex/regex-phpstan
PHPStan extension that reports the regex patterns your target PHP refuses, and, opt-in, lint, ReDoS and optimization findings.
-
PHP
php-regex/regex-redos
Finds the patterns that backtrack catastrophically (ReDoS) from the AST, and can confirm a finding against the engine.
-
PHP
php-regex/regex-symfony
Symfony bundle for PHPRegex: the Regex service and the regex:lint, regex:routes, regex:security, regex:analyze, regex:compare and regex:transpile commands.
-
PHP
php-regex/regex-toolkit
One entry point to every PHPRegex analysis library: parse, validate, explain, check ReDoS, optimize, generate, transpile and lint.
-
PHP
php-regex/regex-transpiler
Transpiles PCRE patterns to JavaScript and Python regular expressions, with the losses reported.