wyrihaximus/compress-test-utilities
Test utilities for PHP compression packages: helpers and fixtures for verifying compress and decompress round-trips, so libraries can share consistent test coverage.
require-dev, used when the application (or an internal package) implements HTTP compression—gzip/br/deflate—via PSR-7 middleware, stream wrappers, or custom encoders. Fit with a Laravel codebase is therefore indirect: it supports the tests around compression behaviour rather than the framework itself.composer require --dev wyrihaximus/compress-test-utilities, autoloaded via PSR-4, consumed from PHPUnit or Pest test cases and, where relevant, from orchestra/testbench package tests. No bootstrapping or configuration expected. The main uncertainty is API discovery—the package is undocumented in the brief, so the exposed helpers (assertions, fixtures, doubles) must be read from source and the package's own test suite before adoption.wyrihaximus/compress)? What is the PHP version and PHPUnit/Pest compatibility matrix? Does it require a specific PSR-7 implementation? Are the utilities themselves covered by CI tests? What is the semver/BC policy, and is there a changelog?TestResponse does not natively inspect Content-Encoding, so these helpers fill a genuine gap in compression-aware tests.guzzlehttp/psr7 or nyholm/psr7 version satisfies the package's constraints to avoid dependency resolution conflicts in require-dev.require-dev on a branch and commit the lock file; (3) write one smoke test asserting a gzip/brotli round-trip; (4) wrap usage in project-local test helpers to insulate the suite from the dependency; (5) document in the team testing guidelines and expand coverage.require-dev resolution.How can I help you explore Laravel packages today?