laravel-test-utils provides some utilities and helpers for testing Laravel based applications:
- A mock Guzzle client allows you to test how your code reacts to responses from external APIs while isolated from those APIs.
Writer simpler database assertions using
DBCast::toJsonwhich casts arrays or json strings into a SQL JSON object which can then be used in
- Streamlined model creation helpers wrapping the framework's factory methods.
More information is available via Packagist
> composer require savvywombat/laravel-test-utils