saloon icon indicating copy to clipboard operation
saloon copied to clipboard

Recommended Laravel Telescope integration after laravel-http-sender deprecation

Open dtvmedia opened this issue 1 month ago • 2 comments

Problem

Historically, Saloon had an HTTP sender integration that made outgoing requests show up automatically in Laravel Telescope (under the HTTP Client watcher) which was really helpful for local development.

That sender package now appears to be deprecated/abandoned and the GitHub repo is archived, but I can’t find a clear, current “official” recommendation for Telescope compatibility going forward.

Questions

  1. What is the official recommended way to have Saloon requests appear in Laravel Telescope today?
  2. Could the docs/README be updated to better reflect the current status and recommended migration path?

Thanks!

dtvmedia avatar Dec 04 '25 11:12 dtvmedia

Hey @dtvmedia

I'd be happy to accept a PR to implement telescope support in the Laravel Plugin.

Sammyjo20 avatar Dec 09 '25 21:12 Sammyjo20

Hey @JonPurvis one for us to discuss next week!

Sammyjo20 avatar Dec 12 '25 06:12 Sammyjo20

I decided to spend a bit of time hacking on this before I sleep and managed to get it working. It uses the SentSaloonRequest and SendingSaloonRequest events, hooked into a new TelescopeMiddleware class. I'll tidy up the code later today and submit a PR! 🤠

Image

JonPurvis avatar Dec 15 '25 02:12 JonPurvis

PR is here - https://github.com/saloonphp/laravel-plugin/pull/70

Behaviour is pretty much the same, you set the default_sender to HttpSender and you'll be able to see requests in Saloon!

EDIT: reverted back to an earlier version of the work so that it works regardless of sender.

JonPurvis avatar Dec 15 '25 18:12 JonPurvis

Telescope Support is back in v3.8.0 of the Saloon Laravel plugin. 🎉

Thank you for your good work!👍

dtvmedia avatar Dec 18 '25 23:12 dtvmedia