Skip to content

v2.22.0

Choose a tag to compare

@jszobody jszobody released this 07 Jul 17:13
· 31 commits to master since this release
4a82a63

Non-interactive install and verify

Both setup commands now work where there's no terminal — Laravel Cloud, CI, deploy hooks — which previously wasn't possible (the interactive prompts hang or error without a TTY). Detected automatically from a missing TTY, or forced with -n / --no-interaction. A new --provider= option overrides auto-detection.

postmaster:verify

Runs the full delivery-webhook round trip with no prompts:

php artisan postmaster:verify --no-interaction --to=you@example.com --provider=postmark

--to= sets the test recipient; the "have you set the webhook?" confirmation is skipped; the live watch prints without the spinner (clean in logs); and the exit code reflects the result (0 on a delivery, non-zero on a timeout/failure/auth-rejection) — so it works as a deploy or CI gate.

postmaster:install

Can't collect credentials without prompting, so it becomes a setup report — reads the configured provider from your environment and prints the webhook URL, how to point the provider at it, whether the webhook-auth credential is set, and the current feature flags. Writes nothing.

php artisan postmaster:install --no-interaction --provider=sendgrid

Fails only when no provider can be determined; a missing webhook credential is surfaced as a warning.

Full suite: 320 tests, 908 assertions. See #26. Also includes the README polish from #25.