- Конвертер curl в php
- curl from Safari
- curl from Firefox
- Privacy
- Similar Tools
- Support Us
- Конвертер curl в php
- curl from Safari
- curl from Firefox
- Privacy
- Similar Tools
- Support Us
- Конвертер curl в php
- curl from Safari
- curl from Firefox
- Privacy
- Similar Tools
- Support Us
- Конвертер curl в php
- curl from Safari
- curl from Firefox
- Privacy
- Similar Tools
- Support Us
- Saved searches
- Use saved searches to filter your results more quickly
- License
- incarnate/curl-to-php
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
Конвертер curl в php
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Safari
- Open the Network tab in the Developer Tools
- Right click (or Ctrl-click or two-finger click) a request
- Click «Copy as cURL» in the dropdown menu
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Firefox
- Open the Network Monitor tab in the Developer Tools
- Right click (or Ctrl-click) a request
- Click «Copy» → «Copy as cURL»
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
Privacy
We do not transmit or record the curl commands you enter or what they’re converted to. This is a static website (hosted on GitHub Pages) and the conversion happens entirely in your browser using JavaScript.
There is also a VS Code extension and a command line tool you can install from npm with
npm install -g curlconverter
Similar Tools
- Postman, Insomnia and Paw
- curl-to-Go, -to-PHP, -to-ruby
- http-translator (to Python and JS)
- curl’s —libcurl (to C)
- uncurl (to Python)
- hrbrmstr/curlconverter (to R)
- curl-to-elisp
- HAR-to-curl
- curlify (Python to curl)
- Bash2Py
Support Us
GitHub is matching all contributions to this project on GitHub Sponsors.
Конвертер curl в php
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Safari
- Open the Network tab in the Developer Tools
- Right click (or Ctrl-click or two-finger click) a request
- Click «Copy as cURL» in the dropdown menu
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Firefox
- Open the Network Monitor tab in the Developer Tools
- Right click (or Ctrl-click) a request
- Click «Copy» → «Copy as cURL»
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
Privacy
We do not transmit or record the curl commands you enter or what they’re converted to. This is a static website (hosted on GitHub Pages) and the conversion happens entirely in your browser using JavaScript.
There is also a VS Code extension and a command line tool you can install from npm with
npm install -g curlconverter
Similar Tools
- Postman, Insomnia and Paw
- curl-to-Go, -to-PHP, -to-ruby
- http-translator (to Python and JS)
- curl’s —libcurl (to C)
- uncurl (to Python)
- hrbrmstr/curlconverter (to R)
- curl-to-elisp
- HAR-to-curl
- curlify (Python to curl)
- Bash2Py
Support Us
GitHub is matching all contributions to this project on GitHub Sponsors.
Конвертер curl в php
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Safari
- Open the Network tab in the Developer Tools
- Right click (or Ctrl-click or two-finger click) a request
- Click «Copy as cURL» in the dropdown menu
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Firefox
- Open the Network Monitor tab in the Developer Tools
- Right click (or Ctrl-click) a request
- Click «Copy» → «Copy as cURL»
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
Privacy
We do not transmit or record the curl commands you enter or what they’re converted to. This is a static website (hosted on GitHub Pages) and the conversion happens entirely in your browser using JavaScript.
There is also a VS Code extension and a command line tool you can install from npm with
npm install -g curlconverter
Similar Tools
- Postman, Insomnia and Paw
- curl-to-Go, -to-PHP, -to-ruby
- http-translator (to Python and JS)
- curl’s —libcurl (to C)
- uncurl (to Python)
- hrbrmstr/curlconverter (to R)
- curl-to-elisp
- HAR-to-curl
- curlify (Python to curl)
- Bash2Py
Support Us
GitHub is matching all contributions to this project on GitHub Sponsors.
Конвертер curl в php
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Safari
- Open the Network tab in the Developer Tools
- Right click (or Ctrl-click or two-finger click) a request
- Click «Copy as cURL» in the dropdown menu
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Firefox
- Open the Network Monitor tab in the Developer Tools
- Right click (or Ctrl-click) a request
- Click «Copy» → «Copy as cURL»
- Paste it in the curl command box above
Warning: the copied command may contain cookies or other sensitive data. Be careful if you’re sharing the command with other people, sending someone your cookie for a website is like sending them your password.
Privacy
We do not transmit or record the curl commands you enter or what they’re converted to. This is a static website (hosted on GitHub Pages) and the conversion happens entirely in your browser using JavaScript.
There is also a VS Code extension and a command line tool you can install from npm with
npm install -g curlconverter
Similar Tools
- Postman, Insomnia and Paw
- curl-to-Go, -to-PHP, -to-ruby
- http-translator (to Python and JS)
- curl’s —libcurl (to C)
- uncurl (to Python)
- hrbrmstr/curlconverter (to R)
- curl-to-elisp
- HAR-to-curl
- curlify (Python to curl)
- Bash2Py
Support Us
GitHub is matching all contributions to this project on GitHub Sponsors.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Convert curl commands to PHP code in your browser
License
incarnate/curl-to-php
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Curl-to-PHP is a tool to instantly convert curl commands to PHP code in the browser. It does not guarantee high-fidelity conversions, but it’s good enough for most API docs that have curl samples.
This is a derivitive of curl-to-Go, which converts curl to a Go.
Check it out! It works inside your browser. Just give the code a once-over since you may want to improve the error handling.
Does any curl command work?
Any curl command should work, but only certain flags are understood and converted into PHP code. The rest of the flags will be ignored.
Which kinds of curl commands are understood?
Mostly simple HTTP commands (headers, basic auth, body, etc).
Will you consider supporting this-or-that flag?
curl has like a bajillion options, so don’t expect all of them to be implemented; just the most common/important ones to stub out code from API samples and docs, etc. But feel free to open an issue or submit a pull request!
Curl-to-PHP is brought to you by John C (@incarnated), based on the work of Matt Holt (mholt6).
About
Convert curl commands to PHP code in your browser