draw/data-tester
Lightweight PHP data testing helper for validating arrays/objects against expected shapes and values. Useful for unit tests and quick assertions, with simple matchers and readable failure messages to spot mismatches fast.
assert->array()->hasKey('user')->isNotEmpty()).assert->array()->hasKey('data')->array()->hasLength(10)).Adopt if:
Look elsewhere if:
For Executives:
"This package lets our team automate data validation with simple, readable tests—like a ‘contract’ for our data. For example, instead of manually checking API responses or database records, engineers can write assertions like assert->array()->hasKey('user')->isNotEmpty() in minutes. It reduces bugs in data-heavy workflows (e.g., APIs, migrations) and speeds up QA, especially for legacy systems. The MIT license and PHPUnit integration mean low risk, and it’s a lightweight alternative to building custom validation tools."
For Engineers:
*"If you’re tired of writing verbose PHPUnit assertions for data validation, this package offers a fluent syntax to chain checks (e.g., assert->array()->hasKey('id')->isInteger()). It’s ideal for:
How can I help you explore Laravel packages today?