coduo/php-matcher
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| apie/dateformat-to-regex | 0.84 | 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 | 7 | 0 | 0.0 | 12.5 | MIT | — | |
| sclable/xml-lint | 0.83 | Command-line tool to lint XML files and validate them against referenced XSD schemas. Works on single files or entire directories (optionally recursive), with verbose output, exclusions, and the ability to skip schema validation. Install via Composer and run vendor/bin/xmllint. | 23 | 24 | 10 | 8K | 3 | 5.5 | 36.9 | MIT | 1 year ago | |
| nwidart/laravel-normalizer | 0.83 | A Laravel package for normalizing data into consistent, predictable formats. Define custom normalizers to clean and transform input, making validation and storage simpler across your application. | 12 | — | 2 | — | 0 | 0.4 | — | MIT | 10 years ago | |
| coduo/phpspec-data-provider-extension | 0.83 | PHPSpec extension adding data providers to run the same specification with multiple input/output datasets. Define examples in your specs for concise, parameterized tests and cleaner coverage of edge cases without duplicating scenarios. | 39 | 40 | 19 | 991 | 2 | 1.2 | 13.7 | MIT | 11 years ago | |
| cocur/vale | 0.83 | cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. | 14 | 14 | 1 | 3K | 0 | 0.7 | 32.1 | MIT | 11 years ago | |
| sarfraznawaz2005/meter | 0.83 | Laravel Meter is a performance monitoring package that gives you a dashboard for key application and server metrics, helping you track resource usage, spot bottlenecks, and keep your Laravel app running smoothly. | 248 | 248 | 24 | 24 | 3 | 3.0 | 0.9 | MIT | 3 years ago | |
| coshi/variator | 0.83 | Generate all combinations of parameter values from a simple config array. Supports enums, integer ranges, callbacks/functions, and cross-referenced variations between fields. Iterate results as arrays keyed by parameter name for easy testing or data generation. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 10 years 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 | 37 | 1K | 4 | 3.1 | 14.6 | MIT | — | |
| s9e/regexp-builder | 0.82 | 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. | 34 | 35 | 3 | 163K | 0 | 5.1 | 50.7 | MIT | 3 years ago | |
| phpmob/data-fixture | 0.82 | Lightweight PHP package for defining and loading data fixtures to seed databases during development and testing. Helps generate consistent sample records, manage fixture sets, and reset data quickly for repeatable test runs and local environments. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 8 years ago | |
| respect/stringifier | 0.82 | Respect\Stringifier converts any PHP value into a readable string for logging, debugging, and error messages. Use the stringify() function or the HandlerStringifier object. Secure-by-default handling of strings in newer versions. Requires PHP 8.3+. | 26 | 27 | 2 | 1M | 0 | 11.6 | 60.2 | MIT | 5 months ago | |
| herrera-io/json | 0.82 | PHP library for working with JSON data: read, write, validate, and manipulate JSON structures with a simple API. Useful for encoding/decoding, handling JSON files, and keeping JSON processing consistent across your applications. | 0 | 52 | — | 5K | — | 0.0 | 51.4 | — | — | |
| phlak/splat | 0.82 | Splat is a lightweight PHP library for matching strings against wildcard patterns. It provides simple, expressive helpers for route-style matching, capturing wildcard segments, and filtering paths or values, making it useful for routing, file matching, and other pattern-based tasks. | 105 | — | 5 | — | 0 | 0.7 | — | MIT | 1 year ago |
|
| alexeyshockov/pattern-matcher | 0.82 | 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 | — | — | — | |
| sp/fixture-dumper | 0.82 | sp/fixture-dumper is a Laravel package for capturing database data as reusable fixtures. Dump selected tables into fixture files, then reload them in tests or seeders for fast, consistent database setup without hand-writing sample records. Ideal for reproducible test suites and local development. | 9 | 11 | 15 | 3 | 1 | 0.6 | 1.6 | MIT | 9 years ago | |
| apie/regex-tools | 0.82 | 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. | 0 | 0 | 0 | 90 | 0 | 0.0 | 27.1 | MIT | — | |
| php-standard-library/regex | 0.82 | 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 | 100K | 0 | 21.5 | 64.9 | MIT | 1 week ago | |
| hamcrest/hamcrest-php | 0.82 | Official PHP port of Hamcrest, the matching library originally written for Java. Provides readable matchers like equalTo, containsString and is for expressive assertions in PHP tests, with global proxy functions and MatcherAssert support. | 6,981 | 7,014 | 47 | 11M | 10 | 44.1 | 53.7 | NOASSERTION | 4 months ago | |
| php-standard-library/type | 0.82 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| d4h/finediff | 0.82 | A PHP implementation of the FineDiff algorithm for generating compact, granular diffs between strings. It supports character, word, and line-level comparisons and can render HTML or plain-text output, making it useful for version tracking, wikis, and collaborative editing. | 14 | 15 | 10 | 74K | 3 | 1.2 | 51.6 | MIT | — |
How can I help you explore Laravel packages today?