astrotomic/phpunit-assertions
Adds expressive, reusable PHPUnit assertions to PHP and Laravel test suites, covering arrays, strings, objects, and common framework values. Drop-in helpers make tests clearer and reduce custom assertion boilerplate without changing your existing setup.
Astrotomic/phpunit-assertions is a test-only utility package for PHPUnit-style assertions, so it fits Laravel/PHP projects as a require-dev dependency rather than production runtime architecture. Release 0.15.0 adds geographic distance assertions, which is relevant for teams testing geo-enabled features such as store locators, delivery radius checks, geofencing, or coordinate normalization.0.15.0? Does it work cleanly with the project’s Pest/Laravel test setup? What distance units and coordinate formats do the new assertions expect? Are there transitive dependencies that affect CI? Is the package actively maintained enough for long-lived test infrastructure?require-dev, update the lockfile, and introduce it gradually in geo-related test files. For existing users, 0.14.0 to 0.15.0 appears to be an additive minor release with no indicated breaking changes.How can I help you explore Laravel packages today?