Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change guzzle client creation (linked to PR in laravel-plugin) #403

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Conversation

gdebrauwer
Copy link
Contributor

@gdebrauwer gdebrauwer commented Apr 18, 2024

I noticed the laravel-http-sender package is being sunset, but I still want requests/responses to be logged in Telescope. Then I discovered this is possible with the following package: https://github.com/huzaifaarain/telescope-guzzle-watcher/tree/main

The problem is that this package only works if the guzzle client is created using the service container. That is currently not the case.

This PR and PR saloonphp/laravel-plugin#62 make that possible with minimal changes.

Copy link
Collaborator

@Sammyjo20 Sammyjo20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I don't think this would cause any issue with backwards compatibility. Thanks @gdebrauwer !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants