igorsgm/laravel-redash
Laravel Redash is a lightweight integration for running Redash queries and fetching dashboards from your Laravel app. Configure Redash credentials, execute saved queries, and access results through a clean, familiar API.
composer require --dev vendor/package — it's a test-support package, so keep it in require-dev. On 1.2.0 you can pair it with Laravel 11 or 12 and Pest 3 or 4; the constraint set is what changed in this release.phpunit.xml / tests/Pest.php. The package hooks in at the test-case level, so its behaviour is configured through your test bootstrap and a published config file rather than through application code.php artisan vendor:publish --tag=package-config if you need to override defaults (timeouts, faked services, assertion verbosity). Most projects never publish it — start without it../vendor/bin/pest --filter=YourTest. This confirms the helper bootstraps cleanly before you refactor an existing suite onto it.uses() target in tests/Pest.php so every test in a folder inherits the helpers. Keep the global uses() narrow (Feature only) and opt in inside Unit tests explicitly — the helpers assume a booted application container.expect()->extend() calls in a dedicated tests/Expectations.php file loaded from Pest.php. This is the highest-leverage integration point — it keeps domain vocabulary in the tests instead of raw assertions.pest --parallel once the suite is green; ensure each parallel worker gets an isolated database (RefreshDatabase plus a per-process DB name, or a transaction-only strategy). Helpers that touch the container are the usual source of cross-worker bleed.^1.1 until the runtime is bumped.composer update will happily give you Pest 4 for one leg of the matrix and Pest 3 for another if constraints are loose. Commit composer.lock for the dev dependencies or use --prefer-lowest/--prefer-stable explicitly in CI.php artisan config:cache in a deploy pipeline will bake in published config; if your test bootstrap relies on env overrides, clear the cache in the test job or the helpers will silently use stale values.RefreshDatabase. Anything that mutates global state should be reset in an afterEach hook rather than relying on a fresh application instance.pestphp/pest to ^4, laravel/framework to ^12, PHP to 8.3, then run the suite twice (with and without --parallel) before merging.How can I help you explore Laravel packages today?