Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Log as cURL #25

Open
1e1 opened this issue Jan 3, 2017 · 2 comments
Open

Log as cURL #25

1e1 opened this issue Jan 3, 2017 · 2 comments

Comments

@1e1
Copy link

1e1 commented Jan 3, 2017

I like the "Copy as cURL" command in the Firefox Network inspector. It's very powerful. Then I can quickly debug in a console.

We can't debug easily curl_* calls with the native PHP functions.
It could be very interesting to add a toCURL() method. Especially for logging.

(Last make __toString() as an alias of toCURL())

What do you think about that?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Hywan
Copy link
Member

Hywan commented Jan 8, 2017

This is a good idea. An excellent one. Will consider it during the rewrite of this library!

@jubianchi
Copy link
Member

totally agree: good idea 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants