composer/pcre
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.
None
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^1.12 || ^2 |
| phpstan/phpstan-deprecation-rules | ^1 || ^2 |
| phpstan/phpstan-strict-rules | ^1 || ^2 |
| phpunit/phpunit | ^8 || ^9 |
How can I help you explore Laravel packages today?