php-standard-library/type
Runtime type validation for PHP using “Parse, Don’t Validate”: coerce and assert unstructured input into well-typed data. Useful for APIs, configs, and user input with clear parsing rules, assertions, and predictable failures.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/filesystem | Type-safe filesystem utilities for PHP Standard Library. Perform common file and directory operations with consistent APIs and proper exception handling, improving safety and clarity over raw PHP functions. Documentation and contribution links included. | 1 | 1 | 0 | 21K | 0 | 21.2 | 64.9 | MIT | 2 weeks ago | |
| php-standard-library/json | php-standard-library/json provides JSON encode/decode helpers with sensible defaults and typed exceptions. Safer, clearer error handling than native json_encode/json_decode, ideal for consistent JSON handling in PHP apps and libraries. | 1 | 1 | 0 | 22K | 0 | 21.2 | 64.8 | MIT | 2 weeks ago | |
| php-standard-library/regex | 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. | 0 | 1 | — | 27K | — | 21.2 | 64.8 | — | — | |
| roave/backward-compatibility-check | Checks your PHP library for backward compatibility breaks between git tags/versions. Designed for CI: compares the last SemVer tag to current HEAD, reports API breaks, and exits non-zero on failure. Install via Composer or run in Docker. | 596 | 596 | 66 | 104K | 37 | 45.4 | 52.3 | MIT | 3 weeks ago | |
| roave/infection-static-analysis-plugin | Runs Psalm static analysis on Infection’s generated mutants to mark type-invalid mutations as killed, boosting mutation scores. Use it as a drop-in wrapper for vendor/bin/infection and pass through all Infection flags plus --psalm-config. | 132 | 133 | 21 | 33K | 9 | 32.9 | 41.8 | MIT | 3 weeks ago | |
| veewee/xml | Type-safe, declarative XML toolkit for PHP. Includes DOM helpers, xml_encode/xml_decode, safe error handling, memory-safe reader/writer, plus XSD and XSLT utilities. Spec-compliance ready (v4 for PHP 8.4+; v3 maintained). | 183 | 183 | 11 | 313K | 1 | 29.2 | 51.7 | MIT | 1 month ago |
How can I help you explore Laravel packages today?