composer/pcre
Type-safe wrappers around PHP's preg_* functions that fail loudly instead of returning unexpected nulls. Enforces PREG_UNMATCHED_AS_NULL, simplifies return types for PHPStan and Psalm, and includes a PHPStan extension for better regex analysis.
None
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^2 |
| phpstan/phpstan-deprecation-rules | ^2 |
| phpstan/phpstan-strict-rules | ^2 |
| phpunit/phpunit | ^9 |
How can I help you explore Laravel packages today?